From 31979673b145009cb4a5196851315cdf8116c4de Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Wed, 5 Nov 2014 14:27:01 +0800 Subject: [PATCH] Debug fetching cached repo when verbosity is off --- mdk/commands/rebase.py | 2 +- mdk/workplace.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mdk/commands/rebase.py b/mdk/commands/rebase.py index 9f024c1..ed56a62 100644 --- a/mdk/commands/rebase.py +++ b/mdk/commands/rebase.py @@ -121,7 +121,7 @@ class RebaseCommand(Command): # Updating cache remotes logging.info('Updating cached repositories') - self.Wp.updateCachedClones() + self.Wp.updateCachedClones(verbose=False) # Loops over instances to rebase for M in Mlist: diff --git a/mdk/workplace.py b/mdk/workplace.py index f16bdab..b357d6d 100644 --- a/mdk/workplace.py +++ b/mdk/workplace.py @@ -428,6 +428,8 @@ class Workplace(object): if verbose: logging.info('Fetching cached repository %s...', os.path.basename(cache)) + else: + logging.debug('Fetching cached repository %s...', os.path.basename(cache)) if not repo.fetch(): raise Exception('Could not fetch in repository %s' % (cache)) -- 2.11.0