[PATCH 3 of 4] hgweb: use semantically suitable filelog.revs in filelog
Alexander Plavin
alexander at plav.in
Sun Nov 10 08:25:23 CST 2013
# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1384093409 -14400
# Sun Nov 10 18:23:29 2013 +0400
# Node ID 3e5ee03883a959fdfc4b4e9b10437c5d3bdcc74a
# Parent 8bddf654c880f12052fa13efb07fedf7c2cf74c6
hgweb: use semantically suitable filelog.revs in filelog
The functions are equivalent in behaviour, so no behavior change.
diff -r 8bddf654c880 -r 3e5ee03883a9 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
@@ -841,7 +841,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)
More information about the Mercurial-devel
mailing list