Mercurial > hg-stable
diff mercurial/cmdutil.py @ 11410:38d4c9b953fe
revrange: fix up empty query again
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 20 Jun 2010 14:21:47 -0500 |
parents | bf5d88c466e0 |
children | d74fe370ab04 |
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