src/mercurialserver/refreshauth.py
changeset 75 5af89523a9d3
parent 74 9d2ae2841bf2
child 79 3a58a95fae2f
equal deleted inserted replaced
74:9d2ae2841bf2 75:5af89523a9d3
    64                         akeys.write('%s"%s %s" %s\n' % (prefix, wrappercommand, keyname, l))
    64                         akeys.write('%s"%s %s" %s\n' % (prefix, wrappercommand, keyname, l))
    65 
    65 
    66     akeys.close()
    66     akeys.close()
    67 
    67 
    68     os.rename(akeyfile + "_new", akeyfile)
    68     os.rename(akeyfile + "_new", akeyfile)
       
    69     
       
    70 def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
       
    71     refreshAuth()
       
    72