[Python-Dev] PEP 385: Formatting of Hg checkin notifications

Georg Brandl g.brandl at gmx.net
Sun Nov 14 21:36:37 CET 2010


Am 14.11.2010 19:35, schrieb Antoine Pitrou:
> On Sun, 14 Nov 2010 19:27:22 +0100
> "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> > I suspect my hg-fu is inadequate to at this point - I get an 'access
>> > to repository "hg.python.org/hooks" not permitted' error when I try to
>> > push the modified file to "ssh://hg@hg.python.org/hooks".
>> 
>> Try
>> 
>> ssh://hg@hg.python.org/repos/hooks
>> 
>> I think this is something that needs to be fixed: I fail to see the
>> point of having this extra repos/ directory in the path (even though
>> it's certainly useful to have them all in a separate directory on disk).
> 
> IIUC, "repos/hooks" is interpreted as a relative path to the "hg"
> user's HOME. The "ssh://" scheme executes remote hg over an ssh
> session, I don't think there's any additional magic.

There is; we already have a custom authorized_keys command in place
to call the hg-ssh wrapper, and all that's needed is to customize that
command a bit more.

Georg



More information about the Python-Dev mailing list