# HG changeset patch # User Yuya Nishihara # Date 2015-02-02 13:28:52 # Node ID db85e454fccc505a7d669af9cf01fcad12b466de # Parent 07c1a7d1ef69ac335fc194cc5f97a7516e8aa4e9 hgweb: use revset.spanset where appropriate It is remainder of 9ad6dae67845 where spanset was introduced. diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -187,7 +187,7 @@ def _search(web, req, tmpl): 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:'