git-p4 submit: Fix missing quotes around p4 commands to make them work with spaces in filenames
Noticed by Alex Riesen Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
parent
81b462a629
commit
e6b711f00e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user