[PATCH stable] hgweb: avoid bad $$ processing in graph (issue3601)
Patrick Mézard
patrick at mezard.eu
Wed Aug 29 14:37:14 CDT 2012
Le 29/08/12 02:11, Mads Kiilerich a écrit :
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1346198983 -7200
> # Node ID 928b38ec9f279510095ce6c3ffd5db9411aa4f6e
> # Parent 5077cd9311331a9e1231d509d1d291cff2369529
> hgweb: avoid bad $$ processing in graph (issue3601)
>
> JavaScript .replace always magically processed $$ $& $' $` in replacement
> strings and thus displayed subject lines incorrectly in the graph view.
>
> Instead of regexps and .replace we now just create the strings the right way in
> the first place.
In crew-stable: http://hg.intevation.org/mercurial/crew/rev/3eb85477c0d9
Thanks.
--
Patrick Mézard
More information about the Mercurial-devel
mailing list