src/init/hgadmin-hgrc
author David Douard <david.douard@logilab.fr>
Mon, 03 Nov 2014 11:12:45 +0100
changeset 372 80f78674c56e
parent 102 4603948da317
permissions -rw-r--r--
Add support for phases This adds a "publish" permission level (between "init" and "write") required to be able to change the phase of a changeset from "draft" to "public". Update documentation accordingly. This is meant to be used for using the changeset evolution feature of mercurial, see http://evolution.experimentalworks.net/doc/
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
102
4603948da317 Make sure purge extension is available if we're to use it
Paul Crowley <paul@lshift.net>
parents: 75
diff changeset
     4
[extensions]
4603948da317 Make sure purge extension is available if we're to use it
Paul Crowley <paul@lshift.net>
parents: 75
diff changeset
     5
hgext.purge =
4603948da317 Make sure purge extension is available if we're to use it
Paul Crowley <paul@lshift.net>
parents: 75
diff changeset
     6
2
a69f7bea408c added a README to describe how this works.
Paul Crowley <paul@lshift.net>
parents:
diff changeset
     7
[hooks]
54
e2ca551c2822 Add push logging
Paul Crowley <paul@lshift.net>
parents: 39
diff changeset
     8
changegroup.aaaab_update = hg update -C default > /dev/null
e2ca551c2822 Add push logging
Paul Crowley <paul@lshift.net>
parents: 39
diff changeset
     9
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
    10
changegroup.refreshauth = python:mercurialserver.refreshauth.hook