[PATCH 1 of 5] branchmap: remove silly line break
pierre-yves.david at ens-lyon.org
pierre-yves.david at ens-lyon.org
Tue Jan 7 01:38:23 UTC 2014
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1388797567 28800
# Fri Jan 03 17:06:07 2014 -0800
# Node ID 4dcd2535942b73c76560a8be6b679dedbc0f2cb7
# Parent 082b2930fe2ca9a003b08439524384e097acaa0a
branchmap: remove silly line break
The line fit in 80 character limit without it. It is even shorter without it.
diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py
--- a/mercurial/branchmap.py
+++ b/mercurial/branchmap.py
@@ -261,12 +261,11 @@ class branchcache(dict):
# heads because an existing head is their descendant.
while iterrevs:
latest = iterrevs.pop()
if latest not in bheadrevs:
continue
- ancestors = set(cl.ancestors([latest],
- bheadrevs[0]))
+ ancestors = set(cl.ancestors([latest], bheadrevs[0]))
if ancestors:
bheadrevs = [b for b in bheadrevs if b not in ancestors]
self[branch] = [cl.node(rev) for rev in bheadrevs]
tiprev = max(bheadrevs)
if tiprev > self.tiprev:
More information about the Mercurial-devel
mailing list