From: Simon Hausmann Date: Mon, 11 Jun 2007 21:40:25 +0000 (+0200) Subject: git-p4 submit: Fix missing quotes around p4 commands to make them work with spaces... X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=f04a1d52e9c51a7126fd6421906a838e144e6115;p=python%2Ffast-export.git git-p4 submit: Fix missing quotes around p4 commands to make them work with spaces in filenames Noticed by Alex Riesen --- diff --git a/git-p4 b/git-p4 index 6c19929..21f9ba7 100755 --- a/git-p4 +++ b/git-p4 @@ -391,10 +391,10 @@ class P4Submit(Command): system(applyPatchCmd) for f in filesToAdd: - system("p4 add %s" % f) + system("p4 add \"%s\"" % f) for f in filesToDelete: - system("p4 revert %s" % f) - system("p4 delete %s" % f) + system("p4 revert \"%s\"" % f) + system("p4 delete \"%s\"" % f) logMessage = "" if not self.directSubmit: