src/init/dot-mercurial-server.tmpl
changeset 350 bb7ee0a13ea9
parent 303 3f9f247b72bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/init/dot-mercurial-server.tmpl	Tue Jul 24 10:48:17 2012 -0700
@@ -0,0 +1,18 @@
+# WARNING: a .mercurial-server file in your home directory means
+# that refresh-auth can and will trash your ~/.ssh/authorized_keys file.
+
+[paths]
+repos = ~/repos
+authorized_keys = ~/.ssh/authorized_keys
+keys = _ETCDIR_/keys:~/repos/hgadmin/keys
+access = _ETCDIR_/access.conf:~/repos/hgadmin/access.conf
+
+[exceptions]
+# Allow the creation of mq repositories by default
+allowdots = .hg/patches
+
+[env]
+# Use a different hgrc for remote pulls - this way you can set
+# up access.py for everything at once without affecting local operations
+
+HGRCPATH = _ETCDIR_/remote-hgrc.d