changeset 20023:2771e59afac4

hgweb: use semantically suitable filelog.revs in filelog The functions are equivalent in behaviour, so no behavior change.
author Alexander Plavin <alexander@plav.in>
date Sun, 10 Nov 2013 18:23:29 +0400
parents d85dfe211c71
children 059b695150c2
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Sun Nov 10 18:07:56 2013 +0400
+++ b/mercurial/hgweb/webcommands.py	Sun Nov 10 18:23:29 2013 +0400
@@ -840,7 +840,7 @@
         l = []
 
         repo = web.repo
-        revs = repo.changelog.revs(start, end - 1)
+        revs = fctx.filelog().revs(start, end - 1)
         for i in revs:
             iterfctx = fctx.filectx(i)