Daniel Shahaf wrote:
> I don't see any script attachment.
>
It had one when I sent it out. I'll attach it inline:
Index: contrib/hook-scripts/require-mergeinfo.pl
===================================================================
--- contrib/hook-scripts/require-mergeinfo.pl (revision 0)
+++ contrib/hook-scripts/require-mergeinfo.pl (revision 0)
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+
+# require-mergeinfo.pl: check that the committing client supports the
+# mergeinfo capability
+#
+# Usage: require-mergeinfo.pl CAPABILITIES
+#
+# To enable, add the following line to the repository's start-commit hook:
+#
+# require-mergeinfo.pl "$3" || exit 1
+#
+
+exit 0 if grep { $_ eq 'mergeinfo' } split ':', $ARGV[0];
+print STDERR "Your client is too old to commit to this repository.\n";
+print STDERR "A version 1.5 or later client is required.\n";
+exit 1;
Property changes on: contrib/hook-scripts/require-mergeinfo.pl
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ native
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=961109
Received on 2008-12-02 21:50:07 CET