summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4280e53)
raw | patch | inline | side by side (parent: 4280e53)
author | Simon Hausmann <shausman@trolltech.com> | |
Fri, 25 May 2007 08:28:46 +0000 (10:28 +0200) | ||
committer | Simon Hausmann <shausman@trolltech.com> | |
Fri, 25 May 2007 08:28:46 +0000 (10:28 +0200) |
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4 | patch | blob | history |
index e8a5c1fa316f2ac5be4fa32b145d233db31252a5..30ee68c60983cabe59750a95cf78a6b63ced7e8e 100755 (executable)
self.refPrefix = "refs/heads/"
if self.syncWithOrigin:
- print "Syncing with origin first as requested by calling git fetch origin"
- system("git fetch origin")
+ if gitBranchExists("origin"):
+ print "Syncing with origin first as requested by calling git fetch origin"
+ system("git fetch origin")
createP4HeadRef = False;