hgweb: use semantically suitable filelog.revs in filelog
authorAlexander Plavin <alexander@plav.in>
Sun, 10 Nov 2013 18:23:29 +0400
changeset 20023 2771e59afac4
parent 20022 d85dfe211c71
child 20024 059b695150c2
hgweb: use semantically suitable filelog.revs in filelog The functions are equivalent in behaviour, so no behavior change.
mercurial/hgweb/webcommands.py
--- 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)