grab: properly quote hg executable in the alias
Breakage has been reported on Windows.
--- a/hgext3rd/evolve/__init__.py Sat Jun 17 01:02:37 2017 +0200
+++ b/hgext3rd/evolve/__init__.py Sat Jun 24 13:28:16 2017 +0200
@@ -410,10 +410,10 @@
'evolve')
if ui.config('alias', 'grab', None) is None:
if os.name == 'nt':
- ui.setconfig('alias', 'grab',
- "! " + util.hgexecutable()
+ hgexe = ('"%s"' % util.hgexecutable())
+ ui.setconfig('alias', 'grab', "! " + hgexe
+ " rebase --dest . --rev $@ && "
- + util.hgexecutable() + " up tip",
+ + hgexe + " up tip",
'evolve')
else:
ui.setconfig('alias', 'grab',