access authentication data from a python hook

Berkes Ádám adam.berkes at intland.com
Mon Dec 15 05:53:23 CST 2008


This might be a proper development question here: it is possible to 
access authentication data in a pretxnchangegroup/changegroup hook? I 
checked through sources, and I found that a passwordmanager is generated 
in url modul to store authentication, which will be part of a 
httprepo/statichttp repo urlopener, but in a hook I get a localrepo as 
repo. So is there a known way to access this information, or there is a 
plan to make it available to hooks?


More information about the Mercurial-devel mailing list