author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
Wed, 14 Dec 2005 20:38:11 -0600 | |
changeset 1569 | dd186cb70a64 |
parent 1568 | 1d7d0c07e8f3 |
child 1570 | 6a104941d56a |
mercurial/ui.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/ui.py Thu Dec 01 10:51:45 2005 -0600 +++ b/mercurial/ui.py Wed Dec 14 20:38:11 2005 -0600 @@ -145,7 +145,7 @@ os.environ.get("EDITOR", "vi")) os.environ["HGUSER"] = self.username() - util.system("%s %s" % (editor, name), errprefix=_("edit failed")) + util.system("%s \"%s\"" % (editor, name), errprefix=_("edit failed")) t = open(name).read() t = re.sub("(?m)^HG:.*\n", "", t)