# HG changeset patch # User Matt Mackall # Date 1423007641 21600 # Node ID bc75f8750cde0150357b25919c945ce418f0e503 # Parent d7d08337b3f6bdb34f072756de19820f99909b0b# Parent 873eb5db89c86583d95c55f8de2904d09ba77ec0 merge with stable diff -r d7d08337b3f6 -r bc75f8750cde mercurial/revset.py --- a/mercurial/revset.py Tue Jan 27 17:24:12 2015 -0800 +++ b/mercurial/revset.py Tue Feb 03 17:54:01 2015 -0600 @@ -1277,7 +1277,7 @@ names = set() for ns in namespaces: for name in ns.listnames(repo): - names.update(ns.nodes(repo, name)) + names.update(repo[n].rev() for n in ns.nodes(repo, name)) names -= set([node.nullrev]) return subset & names diff -r d7d08337b3f6 -r bc75f8750cde tests/test-revset.t --- a/tests/test-revset.t Tue Jan 27 17:24:12 2015 -0800 +++ b/tests/test-revset.t Tue Feb 03 17:54:01 2015 -0600 @@ -787,6 +787,12 @@ $ log 'present(named("unknown"))' $ log 'present(named("re:unknown"))' + $ log 'tag()' + 6 + $ log 'named("tags")' + 6 + 9 + issue2437 $ log '3 and p1(5)'