Code

rename apply() to applyCommit(); apply is a python builtin
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 23 May 2007 19:55:48 +0000 (16:55 -0300)
committerSimon Hausmann <simon@lst.de>
Mon, 28 May 2007 12:29:11 +0000 (14:29 +0200)
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
contrib/fast-import/git-p4

index aba4752d4e2a2e8146139797b6baab7e44ea0d76..bd0ea549290616a4a076defb5bf2e417c0afae76 100755 (executable)
@@ -259,7 +259,7 @@ class P4Submit(Command):
 
         return result
 
-    def apply(self, id):
+    def applyCommit(self, id):
         if self.directSubmit:
             print "Applying local change in working directory/index"
             diff = self.diffStatus
@@ -494,7 +494,7 @@ class P4Submit(Command):
             commit = commits[0]
             commits = commits[1:]
             self.config["commits"] = commits
-            self.apply(commit)
+            self.applyCommit(commit)
             if not self.interactive:
                 break