From dcce87a4bf1abf03155ec584a4d308a068184339 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 23 May 2007 23:53:14 +0200 Subject: [PATCH] Fix multi-branch import with --silent. --- git-p4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/git-p4 b/git-p4 index b2341b7..d8b7080 100755 --- a/git-p4 +++ b/git-p4 @@ -831,8 +831,9 @@ class P4Sync(Command): # this needs to be called after the conversion from heads/p4 to remotes/p4/master self.listExistingP4GitBranches() - if len(self.p4BranchesInGit) > 1 and not self.silent: - print "Importing from/into multiple branches" + if len(self.p4BranchesInGit) > 1: + if not self.silent: + print "Importing from/into multiple branches" self.detectBranches = True if len(args) == 0: -- 2.34.1