[Mono-dev] SVN upgraded to subversion 1.5.x

Robert Jordan robertj at gmx.net
Tue Feb 24 05:36:21 EST 2009


Hi Gonzalo,

Gonzalo Paniagua Javier wrote:
> The Mono SVN server at mono-cvs.ximian.com has been upgraded to
> Subversion 1.5.x.
> 
> That means that if you have a 1.5.x client you will finally be able to
> enjoy merge tracking, sparse checkouts, changelists...
> 
> See http://subversion.tigris.org/svn_1.5_releasenotes.html for the
> complete list of new features.
> 
> If you have an older client, this should not affect you in any way.

Since older clients are not updating svn:mergeinfo, merge tracking
could be easily broken if an old client is allowed to commit to
/branches.

You may want to block those clients with a start-commit hook:

--->8---
#!/bin/bash

svnpath=$1
capabilities=$3

if [ "${svnpath:0:9}" = "/branches" ]; then

     if [ "${capabilities/mergeinfo//}" = "${capabilities}" ]; then

         echo "Please update to SVN >= 1.5" > /dev/stderr
         exit 1

     fi

fi

exit 0
--->8---

Robert



More information about the Mono-devel-list mailing list