src/mercurialserver/refreshauth.py
changeset 75 5af89523a9d3
parent 74 9d2ae2841bf2
child 79 3a58a95fae2f
--- a/src/mercurialserver/refreshauth.py	Fri Mar 06 12:51:07 2009 +0000
+++ b/src/mercurialserver/refreshauth.py	Fri Mar 06 13:03:46 2009 +0000
@@ -66,3 +66,7 @@
     akeys.close()
 
     os.rename(akeyfile + "_new", akeyfile)
+    
+def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
+    refreshAuth()
+