src/refresh-auth
author Paul Crowley <paul@lshift.net>
Sat, 07 Mar 2009 08:55:42 +0000
changeset 81 f23736ad66bc
parent 79 3a58a95fae2f
child 86 78777f509303
permissions -rwxr-xr-x
Update README to reflect absence of wrappers

#!/usr/bin/env python
# Copyright 2008-2009 LShift Ltd

# WARNING
# This script completely destroys your ~/.ssh/authorized_keys
# file every time it is run
# WARNING

import sys
from mercurialserver import refreshauth, paths

if len(sys.argv) != 1:
    sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv)
    sys.exit(-1)

paths.setExePath()

refreshauth.refreshAuth()