revrange: fix up empty query again
authorMatt Mackall <mpm@selenic.com>
Sun, 20 Jun 2010 14:21:47 -0500
changeset 11410 38d4c9b953fe
parent 11409 7a6ac83a15b0
child 11411 5834e79b24f7
revrange: fix up empty query again
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Tue Jun 08 17:56:57 2010 +0200
+++ b/mercurial/cmdutil.py	Sun Jun 20 14:21:47 2010 -0500
@@ -163,12 +163,13 @@
                     seen.add(rev)
                     l.append(rev)
                 continue
-            elif spec in repo: # single unquoted rev
+            elif spec and spec in repo: # single unquoted rev
                 rev = revfix(repo, spec, None)
                 if rev in seen:
                     continue
                 seen.add(rev)
                 l.append(rev)
+                continue
         except error.RepoLookupError:
             pass