diff 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
line wrap: on
line diff
--- 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