util.abort typo fixes

Greg Ward greg-hg at gerg.ca
Wed Nov 10 20:47:19 CST 2010


On Tue, Nov 9, 2010 at 3:33 PM, <richhguard-temp at yahoo.co.uk> wrote:
> I got an exception when using the gpg extension and entering the wrong password.
>
> Here is a patch which fixes the util.abort typo's - one change in gpg.py, and another in commands.py.

Thanks for your contribution!  It looks pretty straightforward to me,
but you could help your case in a couple of ways.  Most importantly,
*show us* the exception that you got.  That should make it obvious
that there is a bug in Mercurial (and the fix is trivial).

Second, please read
http://mercurial.selenic.com/wiki/ContributingChanges.  After doing
that, you'll see that we prefer inline patches, the default with "hg
email".

Finally, we also prefer that the username in the patch contain an
email address as well as your real name.  If you're nervous about
having an email address carved in stone for all eternity and exposed
on the web, keep in mind that hgweb scrambles email addresses to make
life harder for spambots.

Oh yeah: finally, patches should be sent to mercurial-devel.

Thanks again --

Greg


More information about the Mercurial mailing list