diff mercurial/hgweb/webcommands.py @ 23992:db85e454fccc

hgweb: use revset.spanset where appropriate It is remainder of 9ad6dae67845 where spanset was introduced.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 02 Feb 2015 22:28:52 +0900
parents 513d47905114
children b53d2afd11fb
line wrap: on
line diff
--- 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:'