##// END OF EJS Templates
Reverted change 51f26e856f3d: Reading changelogs is too slow.
Thomas Arendsen Hein -
r1139:916bb284 default
parent child Browse files
Show More
@@ -947,7 +947,6 b' class hgwebdir:'
947 947
948 948 url = os.environ["REQUEST_URI"] + "/" + name
949 949 url = url.replace("//", "/")
950 changes = repo.changelog.read(repo.changelog.tip())
951 950
952 951 yield dict(contact=get("web", "contact") or
953 952 get("web", "author", "unknown"),
@@ -955,7 +954,8 b' class hgwebdir:'
955 954 url=url,
956 955 parity=parity,
957 956 shortdesc=get("web", "description", "unknown"),
958 lastupdate=float(changes[2].split(' ')[0]))
957 lastupdate=os.stat(os.path.join(path, ".hg",
958 "00changelog.d")).st_mtime)
959 959
960 960 parity = 1 - parity
961 961
General Comments 0
You need to be logged in to leave comments. Login now