Mercurial > hg-stable
changeset 826:16700cdd9055
Allow import from files with spaces
Index: hg/mercurial/commands.py
===================================================================
author | Kyle Moffett <mrmacman_g4@mac.com> |
---|---|
date | Thu, 04 Aug 2005 13:22:36 -0800 |
parents | 0108c602feb9 |
children | a61728b58dc0 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Aug 04 13:21:27 2005 -0800 +++ b/mercurial/commands.py Thu Aug 04 13:22:36 2005 -0800 @@ -703,7 +703,7 @@ message = "%s\n" % '\n'.join(message) ui.debug('message:\n%s\n' % message) - f = os.popen("patch -p%d < %s" % (strip, pf)) + f = os.popen("patch -p%d < '%s'" % (strip, pf)) files = [] for l in f.read().splitlines(): l.rstrip('\r\n');