diff mercurial/hgweb/webcommands.py @ 24114:fafd9a1284cf

revset: make match function initiate query from full set by default This change is intended to avoid exposing the implementation detail to callers. I'm going to extend fullreposet to support "null" revision, so these mfunc calls will have to use fullreposet() instead of spanset().
author Yuya Nishihara <yuya@tcha.org>
date Mon, 02 Feb 2015 22:21:07 +0900
parents 8e04a73b5502
children f53b7174facf
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Wed Oct 01 20:26:33 2014 -0400
+++ b/mercurial/hgweb/webcommands.py	Mon Feb 02 22:21:07 2015 +0900
@@ -237,7 +237,7 @@
 
         mfunc = revset.match(web.repo.ui, revdef)
         try:
-            revs = mfunc(web.repo, revset.spanset(web.repo))
+            revs = mfunc(web.repo)
             return MODE_REVSET, revs
             # ParseError: wrongly placed tokens, wrongs arguments, etc
             # RepoLookupError: no such revision, e.g. in 'revision:'