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

Nick Coghlan ncoghlan at gmail.com
Sun Nov 14 13:39:40 CET 2010


On Sun, Nov 14, 2010 at 8:20 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> See
>
> http://hg.python.org/hooks/
>
> You should have push permissions to that repository.

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". (I actually
got the same error when cloning, but if I understand hg correctly, it
shouldn't matter that my clone came from the http URL rather than the
ssh one).

My username and email address in my hgrc file match those in Dirkjan's
author map, so I'm not sure what's going on there.

The change I tried to make was to replace the last couple of lines of
the header creation mail.py's incoming() function with the following 3
lines:

    body += log.splitlines()[:-2]
    body += ['summary:\n  ' + ctx.description(), '']
    body += ['files:\n  ' + '\n  '.join(ctx.files()), '']

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list