Fixed problem with invoking hgmerge on paths with spaces.

This commit is contained in:
michael.w.dales@intel.com 2005-10-24 14:54:17 -07:00
parent c0239b9f56
commit 287b19a2a6

View File

@ -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)