Submitter | via Mercurial-devel |
---|---|
Date | June 24, 2016, 10:10 p.m. |
Message ID | <4fc03f313a06f6f1ba96.1466806215@martinvonz.mtv.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/15609/ |
State | Accepted |
Headers | show |
Comments
Patch
diff -r 452eef4be6b5 -r 4fc03f313a06 mercurial/revset.py --- a/mercurial/revset.py Thu Jun 23 13:08:08 2016 -0700 +++ b/mercurial/revset.py Thu Jun 23 13:08:10 2016 -0700 @@ -1143,7 +1143,7 @@ getargs(x, 0, 0, _("head takes no arguments")) hs = set() cl = repo.changelog - for b, ls in repo.branchmap().iteritems(): + for ls in repo.branchmap().itervalues(): hs.update(cl.rev(h) for h in ls) # XXX We should combine with subset first: 'subset & baseset(...)'. This is # necessary to ensure we preserve the order in subset.