Message123293
In util.system(), Mercurial adds its own pair of quotes:
if os.name == 'nt':
cmd = '"%s"' % cmd
That will result in one level of quoting too much.
Now it seems unfortunate that this change was done in a minor version.
It is definitely a bug fix, but one that many users have already worked around, probably in the same way as Mercurial.
Possible ways to resolve:
* make addition of quotes Python-version-specific in Mercurial
* revert to old behavior in Python 2.7.2 (ugly)
* add a check for quotes around the string in Python 2.7.2, and refrain from adding another set of quotes
(Adding 2.7 release manager to nosy.) |
|
Date |
User |
Action |
Args |
2010-12-03 20:39:11 | georg.brandl | set | recipients:
+ georg.brandl, tim.golden, benjamin.peterson, djc, jnoller, asksol |
2010-12-03 20:39:11 | georg.brandl | set | messageid: <1291408751.89.0.752893405325.issue10618@psf.upfronthosting.co.za> |
2010-12-03 20:39:10 | georg.brandl | link | issue10618 messages |
2010-12-03 20:39:10 | georg.brandl | create | |
|