src/init/dot-mercurial-server
author Dale Wijnand <dale.wijnand@gmail.com>
Thu, 20 Jan 2011 21:18:29 +0100
changeset 295 9741d82e5b1e
parent 225 ff08fd5b1a62
child 303 3f9f247b72bd
permissions -rw-r--r--
servelog: use simplejson and the % operator for python versions < 2.6 Both the json module and str format operator are new in version 2.6, so replace them with the simplejson module and the % operator, respectively.

# 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 = /etc/mercurial-server/keys:~/repos/hgadmin/keys
access = /etc/mercurial-server/access.conf:~/repos/hgadmin/access.conf

[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 = /etc/mercurial-server/remote-hgrc.d