Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/branchmap.py @ 20260:586ec8fe1c3c
branchmap: remove silly line break
The line fit in 80 character limit without it. It is even shorter without it.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 03 Jan 2014 17:06:07 -0800 |
parents | 4edd179fefb8 |
children | 3fee302a48e6 |
comparison
equal
deleted
inserted
replaced
20259:bb4aac9b048c | 20260:586ec8fe1c3c |
---|---|
266 # heads because an existing head is their descendant. | 266 # heads because an existing head is their descendant. |
267 while iterrevs: | 267 while iterrevs: |
268 latest = iterrevs.pop() | 268 latest = iterrevs.pop() |
269 if latest not in bheadrevs: | 269 if latest not in bheadrevs: |
270 continue | 270 continue |
271 ancestors = set(cl.ancestors([latest], | 271 ancestors = set(cl.ancestors([latest], bheadrevs[0])) |
272 bheadrevs[0])) | |
273 if ancestors: | 272 if ancestors: |
274 bheadrevs = [b for b in bheadrevs if b not in ancestors] | 273 bheadrevs = [b for b in bheadrevs if b not in ancestors] |
275 self[branch] = [cl.node(rev) for rev in bheadrevs] | 274 self[branch] = [cl.node(rev) for rev in bheadrevs] |
276 tiprev = max(bheadrevs) | 275 tiprev = max(bheadrevs) |
277 if tiprev > self.tiprev: | 276 if tiprev > self.tiprev: |