--- a/hg/hg.go Wed Mar 15 03:25:21 2023 -0500
+++ b/hg/hg.go Thu Mar 30 19:49:40 2023 -0500
@@ -45,15 +45,17 @@
+ // add the hgrc that controls writability + rcs = append(rcs, c.tmpHgrc) // site.hgrc is deprecated, but we still support it for now
- rcs := []string{filepath.Join(access.AdminRepoPath(), "site.hgrc")}
+ rcs = append(rcs, filepath.Join(access.AdminRepoPath(), "site.hgrc")) // add the repo specific hgrc's
rcs = append(rcs, findHgrcsForRepo(repoName)...)
- // add the hgrc that controls writability
- rcs = append(rcs, c.tmpHgrc)
"HGRCPATH="+strings.Join(rcs, string(filepath.ListSeparator)),