comparison mercurial/mdiff.py @ 239:75840796e8e2

mdiff.py: kill #! line, add copyright notice -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mdiff.py: kill #! line, add copyright notice manifest hash: acb4e14d5947d0fde5b89a874af0476773ee1cee -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCoM9CywK+sNU5EO8RAizVAJ41dqQxxx8nouBxJMcFmoVRRo4GfACbB9RV Xc0cqaoPVL7p87opPKjgNWw= =HyjH -----END PGP SIGNATURE-----
author mpm@selenic.com
date Fri, 03 Jun 2005 13:44:34 -0800
parents 697f05bfe976
children afe895fcc0d0
comparison
equal deleted inserted replaced
238:3b92f8fe47ae 239:75840796e8e2
1 #!/usr/bin/python 1 # mdiff.py - diff and patch routines for mercurial
2 #
3 # Copyright 2005 Matt Mackall <mpm@selenic.com>
4 #
5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference.
7
2 import difflib, struct, mmap 8 import difflib, struct, mmap
3 from mercurial.mpatch import * 9 from mercurial.mpatch import *
4 10
5 def unidiff(a, ad, b, bd, fn): 11 def unidiff(a, ad, b, bd, fn):
6 if not a and not b: return "" 12 if not a and not b: return ""