changeset 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 07c1a7d1ef69
children eedade006458
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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:'