--- a/hgweb/files/hgweb.config Fri Nov 13 20:54:08 2020 -0600
+++ b/hgweb/files/hgweb.config Fri Nov 13 20:56:05 2020 -0600
@@ -5,4 +5,4 @@
# include the site config last as it should override everything
+%include {{.GLOBAL_HGRC}} --- a/hgweb/hgweb.go Fri Nov 13 20:54:08 2020 -0600
+++ b/hgweb/hgweb.go Fri Nov 13 20:56:05 2020 -0600
@@ -46,6 +46,7 @@
data := map[string]string{
"HGWEB_ACCESS_CONFIG": access.HgwebConfigPath(),
"SITE_HGRC": filepath.Join(access.AdminRepoPath(), "site.hgrc"),
+ "GLOBAL_HGRC": filepath.Join(access.AdminRepoPath(), "config/hgrc"), if err := t.Execute(configPath, data); err != nil {