From: Frederic Massart Date: Wed, 5 Nov 2014 06:27:01 +0000 (+0800) Subject: Debug fetching cached repo when verbosity is off X-Git-Tag: v1.4~4 X-Git-Url: http://git.cameron1729.xyz/?p=mdk.git;a=commitdiff_plain;h=31979673b145009cb4a5196851315cdf8116c4de Debug fetching cached repo when verbosity is off --- 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))