# HG changeset patch # User Pierre-Yves David # Date 1498303696 -7200 # Node ID ae822f28b6179c303d7f8f3b7b91792a08684856 # Parent 9c0f6b85c28f52533311b7b04440441174731bf4 grab: properly quote hg executable in the alias Breakage has been reported on Windows. diff -r 9c0f6b85c28f -r ae822f28b617 hgext3rd/evolve/__init__.py --- 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',