mercurial notifications

Andrew John Hughes gnu_andrew at member.fsf.org
Sat Sep 27 16:46:37 PDT 2008


2008/9/27 Mark Wielaard <mark at klomp.org>:
> Hi all,
>
> On Thu, 2008-09-25 at 14:45 +0200, Mark Wielaard wrote:
>> On Sun, 2008-08-31 at 21:01 +0100, Andrew John Hughes wrote:
>> > On 31/08/2008, Mark Wielaard <mark at klomp.org> wrote:
>> > > You managed to push this without generating a commit message. I cannot
>> > >  figure out why that is. Do you have any idea how you got this commit in
>> > >  "under the hgext.notify radar"?
>> > >
>> > Something is broken:
>> >
>> > remote: added 1 changesets with 2 changes to 2 files
>> > remote: error: incoming.notify hook raised an exception: cannot
>> > concatenate 'str' and 'NoneType' objects
>
> We finally found it!
> The issue is when your hgrc doesn't contain an email address.
> So please make sure that your ~/.hgrc contains at least the following:
>
> ### --- User interface
> [ui]
> ### username data to appear in comits
> ### it usually takes the form: Joe User <joe.user at host.com>
> username = My FullName <me at example.com>
>
> If for some reason you need your global ~/.hgrc to contain something
> else than your full name then add this to your project specific hgrc:
>  icedtea/.hg/hgrc
>  icedtea6/.hg/hgrc
>  icepick/.hg/hgrc
>  pulseaudio/.hg/hgrc
> etc.
>
> That way your commits will always have a full name plus the email
> address added. Which will then be used to send to notification emails to
> the mailinglist.
>
> Thanks,
>
> Mark
>
>


Yes as you'll have noticed my commits now come through since setting this
in icedtea6/.hg/hgrc.
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list