##// END OF EJS Templates
hgweb: fix traceback by skipping invalid repo paths
TK Soh -
r1524:0d47bb88 default
parent child Browse files
Show More
@@ -999,7 +999,10 b' class hgwebdir:'
999 999 .replace("//", "/"))
1000 1000
1001 1001 # update time with local timezone
1002 d = (get_mtime(path), util.makedate()[1])
1002 try:
1003 d = (get_mtime(path), util.makedate()[1])
1004 except OSError:
1005 continue
1003 1006
1004 1007 yield dict(contact=(get("ui", "username") or # preferred
1005 1008 get("web", "contact") or # deprecated
General Comments 0
You need to be logged in to leave comments. Login now