# HG changeset patch # User Matt Mackall # Date 1277061707 18000 # Node ID 38d4c9b953fe478614a5246821e9e7ad13696577 # Parent 7a6ac83a15b08324c45aa43b27e8f83c51479e51 revrange: fix up empty query again diff -r 7a6ac83a15b0 -r 38d4c9b953fe 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