]> Pileus Git - ~andy/git/blobdiff - git-p4.py
git p4: test clean-up after failed submit, fix added files
[~andy/git] / git-p4.py
index 39fa2e186f04c9bb87f2e400c1bca0da0eeca3f6..0481f432f2343112c0de2bc96a78aed88e4b07a7 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -1200,8 +1200,6 @@ class P4Submit(Command, P4UserMap):
         if not patch_succeeded:
             for f in editedFiles:
                 p4_revert(f)
-            for f in filesToAdd:
-                os.remove(f)
             return False
 
         system(applyPatchCmd)