Mercurial > public > mercurial-scm > hg
diff mercurial/pure/mpatch.py @ 16683:525fdb738975
cleanup: eradicate long lines
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 15:54:54 +0200 |
parents | 8f7132fa5e59 |
children | 9a17576103a4 |
line wrap: on
line diff
--- a/mercurial/pure/mpatch.py Fri May 11 18:41:04 2012 +0200 +++ b/mercurial/pure/mpatch.py Sat May 12 15:54:54 2012 +0200 @@ -85,10 +85,10 @@ p1, p2, l = struct.unpack(">lll", m.read(12)) pull(new, frags, p1 - last) # what didn't change pull([], frags, p2 - p1) # what got deleted - new.append((l, pos + 12)) # what got added + new.append((l, pos + 12)) # what got added pos += l + 12 last = p2 - frags.extend(reversed(new)) # what was left at the end + frags.extend(reversed(new)) # what was left at the end t = collect(b2, frags)