--- a/mercurial/localrepo.py Mon Jan 19 12:58:01 2009 +0100
+++ b/mercurial/localrepo.py Mon Jan 19 12:59:56 2009 +0100
@@ -1217,7 +1217,7 @@
# filter out the heads that cannot be reached from startrev
bheads = self.changelog.nodesbetween([start], bheads)[2]
if not closed:
- bheads = [h for h in bheads if
+ bheads = [h for h in bheads if
('close' not in self.changelog.read(h)[5])]
return bheads
--- a/mercurial/patch.py Mon Jan 19 12:58:01 2009 +0100
+++ b/mercurial/patch.py Mon Jan 19 12:59:56 2009 +0100
@@ -1359,7 +1359,7 @@
adds += 1
elif line.startswith('-') and not line.startswith('---'):
removes += 1
- if filename:
+ if filename:
yield (filename, adds, removes)
def diffstat(lines):