summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 583e170)
raw | patch | inline | side by side (parent: 583e170)
author | Simon Hausmann <shausman@trolltech.com> | |
Thu, 7 Jun 2007 07:39:51 +0000 (09:39 +0200) | ||
committer | Simon Hausmann <shausman@trolltech.com> | |
Thu, 7 Jun 2007 07:39:51 +0000 (09:39 +0200) |
At some point the code paths should be unified, but for now I need a working
git-p4 :)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
git-p4 :)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4 | patch | blob | history |
index ba34f0a61f10aabf9ab8cf712d02bf3a15b33224..ff737d762cdddcbe80828e725911ab88c62bf48d 100755 (executable)
if p4Change > 0:
self.depotPaths = sorted(self.previousDepotPaths)
self.changeRange = "@%s,#head" % p4Change
- self.initialParent = parseRevision(self.branch)
+ if not self.detectBranches:
+ self.initialParent = parseRevision(self.branch)
if not self.silent and not self.detectBranches:
print "Performing incremental import into %s git branch" % self.branch