Show More
@@ -947,6 +947,7 class hgwebdir: | |||||
947 |
|
947 | |||
948 | url = os.environ["REQUEST_URI"] + "/" + name |
|
948 | url = os.environ["REQUEST_URI"] + "/" + name | |
949 | url = url.replace("//", "/") |
|
949 | url = url.replace("//", "/") | |
|
950 | changes = repo.changelog.read(repo.changelog.tip()) | |||
950 |
|
951 | |||
951 | yield dict(contact=get("web", "contact") or |
|
952 | yield dict(contact=get("web", "contact") or | |
952 | get("web", "author", "unknown"), |
|
953 | get("web", "author", "unknown"), | |
@@ -954,8 +955,7 class hgwebdir: | |||||
954 | url=url, |
|
955 | url=url, | |
955 | parity=parity, |
|
956 | parity=parity, | |
956 | shortdesc=get("web", "description", "unknown"), |
|
957 | shortdesc=get("web", "description", "unknown"), | |
957 |
lastupdate=os.s |
|
958 | lastupdate=float(changes[2].split(' ')[0])) | |
958 | "00changelog.d")).st_mtime) |
|
|||
959 |
|
959 | |||
960 | parity = 1 - parity |
|
960 | parity = 1 - parity | |
961 |
|
961 |
General Comments 0
You need to be logged in to leave comments.
Login now