subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1239718 - /subversion/trunk/tools/dist/backport.pl
Date Thu, 02 Feb 2012 16:42:41 GMT
Author: danielsh
Date: Thu Feb  2 16:42:41 2012
New Revision: 1239718

URL: http://svn.apache.org/viewvc?rev=1239718&view=rev
Log:
* tools/dist/backport.pl
  (merge): Add a backdoor way to force some in-theory-redundant output,
    so that two successive 'svn commit' prompts don't make pw-driver.pl
    re-prompt interactively.

Modified:
    subversion/trunk/tools/dist/backport.pl

Modified: subversion/trunk/tools/dist/backport.pl
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport.pl?rev=1239718&r1=1239717&r2=1239718&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Thu Feb  2 16:42:41 2012
@@ -106,6 +106,10 @@ $SVNq up
 $SVNq merge $mergeargs
 $VIM -e -s -n -N -i NONE -u NONE -c '/$pattern/normal! dap' -c wq $STATUS
 if $WET_RUN; then
+  if [ -n "\$PRINT_SOMETHING_BETWEEN_PROMPTS" ]; then
+    # hack for pw-driver.pl to see some output between prompts
+    head -n1 $logmsg_filename
+  fi
   $SVNq commit -F $logmsg_filename
 else
   echo "Committing:"



Mime
View raw message