grim/hgkeeper

53a77310bd95
Parents 997c0b805943
Children 20da8ebdfc2f
Use the full path for the repo so that we can group things
--- 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)
}
return filepath.SkipDir