equal
deleted
inserted
replaced
5 # This script completely destroys your ~/.ssh/authorized_keys |
5 # This script completely destroys your ~/.ssh/authorized_keys |
6 # file every time it is run |
6 # file every time it is run |
7 # WARNING |
7 # WARNING |
8 |
8 |
9 import sys |
9 import sys |
10 from mercurialserver import refreshauth |
10 from mercurialserver import refreshauth, paths |
11 |
11 |
12 if len(sys.argv) != 1: |
12 if len(sys.argv) != 1: |
13 sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv) |
13 sys.stderr.write("refresh-auth: must be called with no arguments (%s)\n" % sys.argv) |
14 sys.exit(-1) |
14 sys.exit(-1) |
15 |
15 |
|
16 paths.setExePath() |
|
17 |
16 refreshauth.refreshAuth() |
18 refreshauth.refreshAuth() |