diff -r 5af89523a9d3 -r e6a35b0f853c src/refresh-auth --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/refresh-auth Fri Mar 06 13:06:36 2009 +0000 @@ -0,0 +1,16 @@ +#!/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 + +if len(sys.argv) != 1: + sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv) + sys.exit(-1) + +refreshauth.refreshAuth()