[llvm] r366023 - [GitSVN][NFC] Mark dry-run commits as such in the log output
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 14 11:24:19 PDT 2019
Author: jdoerfert
Date: Sun Jul 14 11:24:19 2019
New Revision: 366023
URL: http://llvm.org/viewvc/llvm-project?rev=366023&view=rev
Log:
[GitSVN][NFC] Mark dry-run commits as such in the log output
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
Modified:
llvm/trunk/utils/git-svn/git-llvm
Modified: llvm/trunk/utils/git-svn/git-llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/git-svn/git-llvm?rev=366023&r1=366022&r2=366023&view=diff
==============================================================================
--- llvm/trunk/utils/git-svn/git-llvm (original)
+++ llvm/trunk/utils/git-svn/git-llvm Sun Jul 14 11:24:19 2019
@@ -420,8 +420,8 @@ def cmd_push(args):
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 '',
More information about the llvm-commits
mailing list