comparison mercurial/patch.py @ 3673:eb0b4a2d70a9

white space and line break cleanups
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 17 Nov 2006 08:06:54 +0100
parents 4cfb72bcb978
children 454b3a8cdf28
comparison
equal deleted inserted replaced
3672:e8730b5b8a32 3673:eb0b4a2d70a9
141 if line.startswith('diff --git'): 141 if line.startswith('diff --git'):
142 m = gitre.match(line) 142 m = gitre.match(line)
143 if m: 143 if m:
144 if gp: 144 if gp:
145 gitpatches.append(gp) 145 gitpatches.append(gp)
146 src, dst = m.group(1,2) 146 src, dst = m.group(1, 2)
147 gp = gitpatch(dst) 147 gp = gitpatch(dst)
148 gp.lineno = lineno 148 gp.lineno = lineno
149 elif gp: 149 elif gp:
150 if line.startswith('--- '): 150 if line.startswith('--- '):
151 if gp.op in ('COPY', 'RENAME'): 151 if gp.op in ('COPY', 'RENAME'):