mirror of
https://github.com/frej/fast-export.git
synced 2026-03-04 17:20:43 +01:00
also strip p4/ from local imports.
This commit is contained in:
6
git-p4
6
git-p4
@@ -948,9 +948,9 @@ class P4Sync(Command):
|
||||
if not line.startswith('p4/') or line == "p4/HEAD":
|
||||
continue
|
||||
branch = line
|
||||
if self.importIntoRemotes:
|
||||
# strip off p4
|
||||
branch = re.sub ("^p4/", "", line)
|
||||
|
||||
# strip off p4
|
||||
branch = re.sub ("^p4/", "", line)
|
||||
|
||||
self.p4BranchesInGit.append(branch)
|
||||
self.initialParents[self.refPrefix + branch] = parseRevision(line)
|
||||
|
||||
Reference in New Issue
Block a user