You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/10/02 21:49:45 UTC
svn commit: r1393143 - /subversion/trunk/tools/dist/backport.pl
Author: danielsh
Date: Tue Oct 2 19:49:44 2012
New Revision: 1393143
URL: http://svn.apache.org/viewvc?rev=1393143&view=rev
Log:
* tools/dist/backport.pl
(main): Check that Vim was compiled with features we need.
Found by: cmpilato
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=1393143&r1=1393142&r2=1393143&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Tue Oct 2 19:49:44 2012
@@ -229,6 +229,10 @@ sub main {
usage, exit 0 if @ARGV;
usage, exit 1 unless -r $STATUS;
+ # Because we use the ':normal' command in Vim...
+ die "A vim with the +ex_extra feature is required"
+ if `${VIM} --version` !~ /[+]ex_extra/;
+
@ARGV = $STATUS;
# Skip most of the file