# HG changeset patch # User Dirkjan Ochtman # Date 1232366396 -3600 # Node ID e5f445c942260ed00ff43f6e85de863a2318f00d # Parent ca39dbc589c9505f226ac3ce8acde2da1c4025eb kill some trailing whitespace diff -r ca39dbc589c9 -r e5f445c94226 mercurial/localrepo.py --- 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 diff -r ca39dbc589c9 -r e5f445c94226 mercurial/patch.py --- 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):