##// END OF EJS Templates
revsets: use itervalues() where only values are needed...
Martin von Zweigbergk -
r29407:20fabe81 default
parent child Browse files
Show More
@@ -1145,7 +1145,7 b' def head(repo, subset, x):'
1145 1145 getargs(x, 0, 0, _("head takes no arguments"))
1146 1146 hs = set()
1147 1147 cl = repo.changelog
1148 for b, ls in repo.branchmap().iteritems():
1148 for ls in repo.branchmap().itervalues():
1149 1149 hs.update(cl.rev(h) for h in ls)
1150 1150 # XXX We should combine with subset first: 'subset & baseset(...)'. This is
1151 1151 # necessary to ensure we preserve the order in subset.
General Comments 0
You need to be logged in to leave comments. Login now