changeset 11410:38d4c9b953fe

revrange: fix up empty query again
author Matt Mackall <mpm@selenic.com>
date Sun, 20 Jun 2010 14:21:47 -0500
parents 7a6ac83a15b0
children 5834e79b24f7
files mercurial/cmdutil.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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