hgweb: use revset.spanset where appropriate
authorYuya Nishihara <yuya@tcha.org>
Mon, 02 Feb 2015 22:28:52 +0900
changeset 23992 db85e454fccc
parent 23991 07c1a7d1ef69
child 23993 eedade006458
hgweb: use revset.spanset where appropriate It is remainder of 9ad6dae67845 where spanset was introduced.
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Sun Feb 01 14:09:31 2015 +0100
+++ b/mercurial/hgweb/webcommands.py	Mon Feb 02 22:28:52 2015 +0900
@@ -187,7 +187,7 @@
 
         mfunc = revset.match(web.repo.ui, revdef)
         try:
-            revs = mfunc(web.repo, revset.baseset(web.repo))
+            revs = mfunc(web.repo, revset.spanset(web.repo))
             return MODE_REVSET, revs
             # ParseError: wrongly placed tokens, wrongs arguments, etc
             # RepoLookupError: no such revision, e.g. in 'revision:'