src/init/dot-mercurial-server.tmpl
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 24 Jul 2012 10:48:17 -0700
changeset 350 bb7ee0a13ea9
parent 303 src/init/dot-mercurial-server@3f9f247b72bd
permissions -rw-r--r--
Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
166
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     1
# WARNING: a .mercurial-server file in your home directory means
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     2
# that refresh-auth can and will trash your ~/.ssh/authorized_keys file.
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     3
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
[paths]
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     5
repos = ~/repos
225
ff08fd5b1a62 Fix configExists properly
Paul Crowley <paul@lshift.net>
parents: 221
diff changeset
     6
authorized_keys = ~/.ssh/authorized_keys
350
bb7ee0a13ea9 Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
Mahlon E. Smith <mahlon@martini.nu>
parents: 303
diff changeset
     7
keys = _ETCDIR_/keys:~/repos/hgadmin/keys
bb7ee0a13ea9 Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
Mahlon E. Smith <mahlon@martini.nu>
parents: 303
diff changeset
     8
access = _ETCDIR_/access.conf:~/repos/hgadmin/access.conf
166
d7e6f114e8e4 Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     9
303
3f9f247b72bd Allow mq clones
Paul Crowley <paul@lshift.net>
parents: 225
diff changeset
    10
[exceptions]
3f9f247b72bd Allow mq clones
Paul Crowley <paul@lshift.net>
parents: 225
diff changeset
    11
# Allow the creation of mq repositories by default
3f9f247b72bd Allow mq clones
Paul Crowley <paul@lshift.net>
parents: 225
diff changeset
    12
allowdots = .hg/patches
3f9f247b72bd Allow mq clones
Paul Crowley <paul@lshift.net>
parents: 225
diff changeset
    13
212
ab5e0e4f5a0c Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents: 166
diff changeset
    14
[env]
ab5e0e4f5a0c Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents: 166
diff changeset
    15
# Use a different hgrc for remote pulls - this way you can set
ab5e0e4f5a0c Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents: 166
diff changeset
    16
# up access.py for everything at once without affecting local operations
ab5e0e4f5a0c Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents: 166
diff changeset
    17
350
bb7ee0a13ea9 Allow the HOMEDIR and ETCDIR to be configurable via Makefile ENV. Add FreeBSD user creation support.
Mahlon E. Smith <mahlon@martini.nu>
parents: 303
diff changeset
    18
HGRCPATH = _ETCDIR_/remote-hgrc.d