Show More
@@ -357,7 +357,7 b' def _revsetutil(repo, subset, x, rtypes)' | |||||
357 | else: |
|
357 | else: | |
358 | matcher = util.always |
|
358 | matcher = util.always | |
359 |
|
359 | |||
360 |
|
|
360 | nodes = set() | |
361 | cl = repo.changelog |
|
361 | cl = repo.changelog | |
362 | for rtype in rtypes: |
|
362 | for rtype in rtypes: | |
363 | if rtype in repo.names: |
|
363 | if rtype in repo.names: | |
@@ -365,10 +365,10 b' def _revsetutil(repo, subset, x, rtypes)' | |||||
365 | for name in ns.listnames(repo): |
|
365 | for name in ns.listnames(repo): | |
366 | if not matcher(name): |
|
366 | if not matcher(name): | |
367 | continue |
|
367 | continue | |
368 |
|
|
368 | nodes.update(ns.nodes(repo, name)) | |
369 |
|
369 | |||
370 |
re |
|
370 | revs = (cl.rev(n) for n in nodes if cl.hasnode(n)) | |
371 |
return subset & smartset.baseset(sorted(re |
|
371 | return subset & smartset.baseset(sorted(revs)) | |
372 |
|
372 | |||
373 | @revsetpredicate('remotenames([name])') |
|
373 | @revsetpredicate('remotenames([name])') | |
374 | def remotenamesrevset(repo, subset, x): |
|
374 | def remotenamesrevset(repo, subset, x): |
General Comments 0
You need to be logged in to leave comments.
Login now