Mercurial > public > mercurial-scm > hg-stable
diff mercurial/patch.py @ 6948:359e93ceee3a
fix double indentation and trailing whitespace
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sun, 31 Aug 2008 11:41:52 +0200 |
parents | 11229144aa01 |
children | 3fffba1c87d0 |
line wrap: on
line diff
--- a/mercurial/patch.py Sat Aug 30 18:47:54 2008 +0200 +++ b/mercurial/patch.py Sun Aug 31 11:41:52 2008 +0200 @@ -537,11 +537,11 @@ # if we hit eof before finishing out the hunk, the last line will # be zero length. Lets try to fix it up. while len(self.hunk[-1]) == 0: - del self.hunk[-1] - del self.a[-1] - del self.b[-1] - self.lena -= 1 - self.lenb -= 1 + del self.hunk[-1] + del self.a[-1] + del self.b[-1] + self.lena -= 1 + self.lenb -= 1 def read_context_hunk(self, lr): self.desc = lr.readline()