From 9003c6a1e6aac9a9792245ade18d340321ec55e2 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 23 May 2007 18:49:35 -0300 Subject: [PATCH] also strip p4/ from local imports. --- git-p4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git-p4 b/git-p4 index 28e37fa..88ea12c 100755 --- a/git-p4 +++ b/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) -- 2.11.4.GIT