Summary: This helps to avoid worries about the "dry run flag" while testing.
Reviewers: jyknight, rnk, mehdi_amini
Subscribers: bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64697
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366023
91177308-0d34-0410-b5e6-
96231b3b80d8
rev_range = args.rev_range
dry_run = args.dry_run
revs = get_revs_to_push(rev_range)
- log('Pushing %d %s commit%s:\n%s' %
- (len(revs),
+ log('%sPushing %d %s commit%s:\n%s' %
+ ('[DryRun] ' if dry_run else '', len(revs),
'split-repo (%s)' % split_repo_path
if split_repo_path else 'monorepo',
's' if len(revs) != 1 else '',