[PATCH 0 of 1] Fix for issue 2310 (wrong name for path wildcards without prefix)

Laurens Holst laurens.nospam at grauw.nl
Fri Jul 30 14:58:17 CDT 2010


As described in issue 2310, when I have / = ** in the hgweb.config paths
section, the first character of the resulting names gets stripped from the
name. This shows up in e.g. the repository overview and corresponding paths.

The following patch should fix the issue, however I have not tested it,
(although the bts issue does contain a test script) and also I am wondering
whether it isn’t better to remove the "path = os.path.normpath(path)" line
instead.


More information about the Mercurial-devel mailing list