mercurial/cmdutil.py
changeset 11290 8c6c7f6347a3
parent 11281 b724b8467b82
child 11303 a1aad8333864
--- a/mercurial/cmdutil.py	Fri Jun 04 20:57:52 2010 -0500
+++ b/mercurial/cmdutil.py	Fri Jun 04 22:54:43 2010 -0500
@@ -153,7 +153,8 @@
             spec.startswith(revrangesep) or spec.endswith(revrangesep)):
             m = revset.match(spec)
             for r in m(repo, range(len(repo))):
-                l.append(r)
+                if r not in seen:
+                    l.append(r)
             seen.update(l)
         elif revrangesep in spec:
             start, end = spec.split(revrangesep, 1)