Hint for setting the username

Arne Babenhauserheide arne_bab at web.de
Tue Jul 9 15:30:35 CDT 2013


Am Dienstag, 9. Juli 2013, 14:21:48 schrieb Augie Fackler:
> > -            raise util.Abort(_('no username supplied (see "hg help config")'))
> > +            raise util.Abort(_('no username supplied (see "hg help config")\n'
> > +                               '(add section [ui] with username = YOURNAME in %s)')%scmutil.userrcpath()[0])
> 
> As Simon mentioned, this patch could use running the test suite and reading of the commit message guidelines.
> 
> Thanks!

When the question is “do I write a mediocre patch or don’t I write one at all”, I prefer the mediocre patch.

This is a quick patch because when I skimmed the Mercurial release notes today I realized that I had not managed to do a good fix for the issue in 2 months - and no one else had done it either.

Best wishes,
Arne
--
A man in the streets faces a knife.
Two policemen are there it once. They raise a sign:

    “Illegal Scene! Noone may watch this!”

The man gets robbed and stabbed and bleeds to death.
The police had to hold the sign.

…Welcome to Europe, citizen. Censorship is beautiful.

   ( http://draketo.de/stichwort/censorship )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130709/b740b8a1/attachment.pgp>


More information about the Mercurial-devel mailing list