Cross Forests
/
projects
/
python
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0edb3a0
)
Specifying --detect-branches is now only needed for the initial clone/sync.
author
Simon Hausmann
<shausman@rhea.troll.no>
Sun, 20 May 2007 21:39:40 +0000
(23:39 +0200)
committer
Simon Hausmann
<shausman@rhea.troll.no>
Sun, 20 May 2007 21:39:40 +0000
(23:39 +0200)
Afterwards it's turned on implicitly if more p4 branches than remotes/p4/master
are found.
git-p4
patch
|
blob
|
history
diff --git
a/git-p4
b/git-p4
index
bcea4cf
..
d4bf673
100755
(executable)
--- a/
git-p4
+++ b/
git-p4
@@
-719,6
+719,9
@@
class P4Sync(Command):
self.initialParents = {}
self.listExistingP4GitBranches()
+ if len(self.p4BranchesInGit) > 1:
+ print "Importing from/into multiple branches"
+ self.detectBranches = True
if self.syncWithOrigin and gitBranchExists("origin") and gitBranchExists("refs/remotes/p4/master") and not self.detectBranches:
### needs to be ported to multi branch import