Fix multi-branch import with --silent.

Signed-off-by: Simon Hausmann <shausman@trolltech.com>
This commit is contained in:
Simon Hausmann 2007-05-23 23:53:14 +02:00
Родитель ad192f2888
Коммит b3fd1b2808
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

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