[issue1553] Escaped characters in http(s) credentials garble hgrc when cloning

Ferrix Hovi mercurial-bugs at selenic.com
Fri Mar 13 11:03:14 CDT 2009


New submission from Ferrix Hovi <ferrix at earlypenguin.fi>:

In a rare occasion when there is a character to be escaped in http(s)
credentials, they will contain a percent symbol (%). In my case the letter in my
username is @ which I escape as %40. The clone goes successfully but afterwards
hg gets a brain tumor and dies:

ConfigParser.InterpolationSyntaxError: '%' must be followed by '%'

I wrote an one-line patch that fixes the most acute crash.

----------
messages: 8807
nosy: ferrix
priority: critical
status: unread
title: Escaped characters in http(s) credentials garble hgrc when cloning

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1553>
____________________________________________________



More information about the Mercurial-devel mailing list