@matheusbsbs / matheus-bagliano / commits / 5265bfcb06
Fork 0

also strip p4/ from local imports.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>

Han-Wen Nienhuys committed May 23, 2007 at 18:49 UTC 5265bfcb06f420841e6304b278b552a4654a4ba0
1 file changed +3 -3
contrib/fast-import/git-p4
+3 -3
@@ -948,9 +948,9 @@ class P4Sync(Command):
948 if not line.startswith('p4/') or line == "p4/HEAD":
949 continue
950 branch = line
951 - if self.importIntoRemotes:
952 - # strip off p4
953 - branch = re.sub ("^p4/", "", line)
951 +
952 + # strip off p4
953 + branch = re.sub ("^p4/", "", line)
954
955 self.p4BranchesInGit.append(branch)
956 self.initialParents[self.refPrefix + branch] = parseRevision(line)