1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-22 02:46:10 +02:00

also strip p4/ from local imports.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
This commit is contained in:
Han-Wen Nienhuys 2007-05-23 18:49:35 -03:00
parent 69d8cc8b99
commit 5265bfcb06

View File

@ -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)