author | Paul Crowley <paul@lshift.net> |
Fri, 13 Nov 2009 14:42:46 +0000 | |
changeset 215 | 584df0f2e5c7 |
parent 213 | 72e7ba8b41a6 |
child 221 | c4c3facf5d6b |
permissions | -rw-r--r-- |
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 |
213
72e7ba8b41a6
Don't hardwire location of authorized_keys file
Paul Crowley <paul@lshift.net>
parents:
212
diff
changeset
|
6 |
authorizedkeys = ~/.ssh/authorized_keys |
166
d7e6f114e8e4
Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
7 |
keys = /etc/mercurial-server/keys:~/repos/hgadmin/keys |
d7e6f114e8e4
Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
8 |
access = /etc/mercurial-server/access.conf:~/repos/hgadmin/access.conf |
d7e6f114e8e4
Need dot-mercurial-server file itself
Paul Crowley <paul@lshift.net>
parents:
diff
changeset
|
9 |
|
212
ab5e0e4f5a0c
Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents:
166
diff
changeset
|
10 |
[env] |
ab5e0e4f5a0c
Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents:
166
diff
changeset
|
11 |
# 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
|
12 |
# 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
|
13 |
|
ab5e0e4f5a0c
Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents:
166
diff
changeset
|
14 |
HGRCPATH = /etc/mercurial-server/remote-hgrc |
ab5e0e4f5a0c
Use env section of config instead of handling only HGRCPATH
Paul Crowley <paul@lshift.net>
parents:
166
diff
changeset
|
15 |