subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1485380 - /subversion/trunk/tools/dist/backport.pl
Date Wed, 22 May 2013 19:45:51 GMT
Author: danielsh
Date: Wed May 22 19:45:50 2013
New Revision: 1485380

URL: http://svn.apache.org/r1485380
Log:
* tools/dist/backport.pl
  (merge): Provide context in error messages.

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=1485380&r1=1485379&r2=1485380&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Wed May 22 19:45:50 2013
@@ -161,9 +161,9 @@ else
 fi
 EOF
 
-  open SHELL, '|-', qw#/bin/sh# or die $!;
+  open SHELL, '|-', qw#/bin/sh# or die "$! (in '$entry{header}')";
   print SHELL $script;
-  close SHELL or warn "$0: sh($?): $!";
+  close SHELL or warn "$0: sh($?): $! (in '$entry{header}')";
 
   unlink $backupfile if -z $backupfile;
   unlink $logmsg_filename unless $? or $!;



Mime
View raw message