Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/revset.py @ 24012:bc75f8750cde
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 03 Feb 2015 17:54:01 -0600 |
parents | 8a2156780839 873eb5db89c8 |
children | fe1abb5d92f6 |
comparison
equal
deleted
inserted
replaced
24011:d7d08337b3f6 | 24012:bc75f8750cde |
---|---|
1275 " that match '%s'") % pattern) | 1275 " that match '%s'") % pattern) |
1276 | 1276 |
1277 names = set() | 1277 names = set() |
1278 for ns in namespaces: | 1278 for ns in namespaces: |
1279 for name in ns.listnames(repo): | 1279 for name in ns.listnames(repo): |
1280 names.update(ns.nodes(repo, name)) | 1280 names.update(repo[n].rev() for n in ns.nodes(repo, name)) |
1281 | 1281 |
1282 names -= set([node.nullrev]) | 1282 names -= set([node.nullrev]) |
1283 return subset & names | 1283 return subset & names |
1284 | 1284 |
1285 def node_(repo, subset, x): | 1285 def node_(repo, subset, x): |