summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 98ad4fa)
raw | patch | inline | side by side (parent: 98ad4fa)
author | Marius Storm-Olsen <mstormo_git@storm-olsen.com> | |
Thu, 7 Jun 2007 13:13:59 +0000 (15:13 +0200) | ||
committer | Marius Storm-Olsen <mstormo_git@storm-olsen.com> | |
Thu, 7 Jun 2007 13:13:59 +0000 (15:13 +0200) |
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
contrib/fast-import/git-p4 | patch | blob | history |
index 89581eacaa54886fb3181f8be0a680c06fbaf5aa..ad023f203c87bf78c5d5caf2694318921c3900b3 100755 (executable)
if self.importIntoRemotes:
self.refPrefix = "refs/remotes/p4/"
else:
- self.refPrefix = "refs/heads/"
+ self.refPrefix = "refs/heads/p4/"
if self.syncWithOrigin and self.hasOrigin:
if not self.silent:
system("git fetch origin")
if len(self.branch) == 0:
- self.branch = self.refPrefix + "p4/master"
+ self.branch = self.refPrefix + "master"
if gitBranchExists("refs/heads/p4") and self.importIntoRemotes:
system("git update-ref %s refs/heads/p4" % self.branch)
system("git branch -D p4");