mercurial/revset.py
branchstable
changeset 24151 38824c53c2f1
parent 24008 873eb5db89c8
child 24159 5b4ed033390b
--- a/mercurial/revset.py	Sun Mar 01 00:18:43 2015 -0300
+++ b/mercurial/revset.py	Thu Feb 05 14:45:49 2015 +0900
@@ -1277,7 +1277,8 @@
     names = set()
     for ns in namespaces:
         for name in ns.listnames(repo):
-            names.update(repo[n].rev() for n in ns.nodes(repo, name))
+            if name not in ns.deprecated:
+                names.update(repo[n].rev() for n in ns.nodes(repo, name))
 
     names -= set([node.nullrev])
     return subset & names