hgadmin-hgrc
author Paul Crowley <paul@lshift.net>
Fri, 02 May 2008 18:03:42 +0100
changeset 30 98dbde5b13a1
parent 4 dcd195f3e52c
child 31 d54720d47ca2
permissions -rw-r--r--
refresh-auth now takes ~/.ssh/authorized_keys as an argument, and it checks that it wrote it last time before rewriting it.

# WARNING: when these hooks run they will entirely destroy and rewrite
# ~/.ssh/authorized_keys

[hooks]
changegroup.aaaaa_update = hg update -C default > /dev/null
changegroup.refreshauth = ../../admin/hg-admin-tools/refresh-auth ~/.ssh/authorized_keys ./hg-ssh-wrapper