summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2007-05-23 16:55:48 -0300
committerLibravatar Simon Hausmann <simon@lst.de>2007-05-28 14:29:11 +0200
commit7cb5cbefd2c8b4c24bc87c6e30906907f94726ad (patch)
tree08b0f673271faeb8db78857469936af3d0c381b5 /contrib
parentreformatting: break long lines. (diff)
downloadtgif-7cb5cbefd2c8b4c24bc87c6e30906907f94726ad.tar.xz
rename apply() to applyCommit(); apply is a python builtin
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/git-p44
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index aba4752d4e..bd0ea54929 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -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