--- a/access/hgweb.go Wed Dec 18 00:03:13 2019 -0600
+++ b/access/hgweb.go Wed Dec 18 00:21:38 2019 -0600
@@ -43,8 +43,7 @@
// check if it's publicly readable
if CanRead("public", relativeRepoPath) {
- name := path.Base(repoPath)
- fmt.Fprintf(fp, "%s = %s\n", name, repoPath)
+ fmt.Fprintf(fp, "%s = %s\n", relativeRepoPath, repoPath)