Fix multi-branch import with --silent.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
maint
Simon Hausmann 2007-05-23 23:53:14 +02:00
parent ad192f2888
commit b3fd1b2808
1 changed files with 3 additions and 2 deletions

View File

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