mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
Fixed problem with invoking hgmerge on paths with spaces.
This commit is contained in:
parent
c0239b9f56
commit
287b19a2a6
@ -1304,7 +1304,7 @@ class localrepository:
|
||||
|
||||
cmd = (os.environ.get("HGMERGE") or self.ui.config("ui", "merge")
|
||||
or "hgmerge")
|
||||
r = os.system("%s %s %s %s" % (cmd, a, b, c))
|
||||
r = os.system('%s "%s" "%s" "%s"' % (cmd, a, b, c))
|
||||
if r:
|
||||
self.ui.warn(_("merging %s failed!\n") % fn)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user