getgraphlogrevs: return an empty baseset instead of a empty list
We aims at returning smartset only so that function higher in the stack can use
smartset feature.
--- a/mercurial/cmdutil.py Fri Mar 14 16:26:50 2014 -0700
+++ b/mercurial/cmdutil.py Fri Mar 14 13:26:40 2014 -0700
@@ -1649,7 +1649,7 @@
revs = revset.spanset(repo)
revs.reverse()
if not revs:
- return [], None, None
+ return revset.baseset(), None, None
expr, filematcher = _makegraphlogrevset(repo, pats, opts, revs)
if possiblyunsorted:
revs.sort(reverse=True)