--- a/mercurial/revset.py Thu Jun 03 17:39:34 2010 -0500
+++ b/mercurial/revset.py Thu Jun 03 17:39:40 2010 -0500
@@ -424,6 +424,11 @@
print 'out', dest, o
return [r for r in subset if r in o]
+def tagged(repo, subset, x):
+ cl = repo.changelog
+ s = set([cl.rev(n) for t, n in repo.tagslist() if t != 'tip'])
+ return [r for r in subset if r in s]
+
symbols = {
"ancestor": ancestor,
"ancestors": ancestors,
@@ -455,6 +460,7 @@
"adds": adds,
"removes": removes,
"outgoing": outgoing,
+ "tagged": tagged,
}
methods = {