src/init/hgadmin-hgrc
author Paul Crowley <paul@lshift.net>
Thu, 28 May 2009 10:43:30 +0100
branchdebian
changeset 99 e99262dfa950
parent 75 5af89523a9d3
child 102 4603948da317
permissions -rw-r--r--
Don't know if I'm making progress here
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
dcd195f3e52c move config out of Python files; don't make hg-ssh-wrapper a dotfile;
Paul Crowley <paul@lshift.net>
parents: 2
diff changeset
     1
# WARNING: when these hooks run they will entirely destroy and rewrite
dcd195f3e52c move config out of Python files; don't make hg-ssh-wrapper a dotfile;
Paul Crowley <paul@lshift.net>
parents: 2
diff changeset
     2
# ~/.ssh/authorized_keys
dcd195f3e52c move config out of Python files; don't make hg-ssh-wrapper a dotfile;
Paul Crowley <paul@lshift.net>
parents: 2
diff changeset
     3
2
a69f7bea408c added a README to describe how this works.
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     4
[hooks]
54
e2ca551c2822 Add push logging
Paul Crowley <paul@lshift.net>
parents: 39
diff changeset
     5
changegroup.aaaab_update = hg update -C default > /dev/null
e2ca551c2822 Add push logging
Paul Crowley <paul@lshift.net>
parents: 39
diff changeset
     6
changegroup.aaaac_purge = hg purge --all > /dev/null
75
5af89523a9d3 give refreshauth.py a hook and call that in hgadmin hgrc
Paul Crowley <paul@lshift.net>
parents: 62
diff changeset
     7
changegroup.refreshauth = python:mercurialserver.refreshauth.hook