[PATCH] D64697: [GitSVN][NFC] Mark dry-run commits as such in the log output

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 14 11:24:04 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL366023: [GitSVN][NFC] Mark dry-run commits as such in the log output (authored by jdoerfert, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D64697?vs=209702&id=209737#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64697/new/

https://reviews.llvm.org/D64697

Files:
  llvm/trunk/utils/git-svn/git-llvm


Index: llvm/trunk/utils/git-svn/git-llvm
===================================================================
--- llvm/trunk/utils/git-svn/git-llvm
+++ llvm/trunk/utils/git-svn/git-llvm
@@ -420,8 +420,8 @@
     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 '',


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64697.209737.patch
Type: text/x-patch
Size: 596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190714/f18d1692/attachment.bin>


More information about the llvm-commits mailing list