Mercurial > evolve
changeset 2658:ae822f28b617 stable
grab: properly quote hg executable in the alias
Breakage has been reported on Windows.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 24 Jun 2017 13:28:16 +0200 |
parents | 9c0f6b85c28f |
children | 166ca0aba0ea |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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',