[rancid] [PATCH 1/2] Better support for subversion repositories

john heasley heas at shrubbery.net
Tue Nov 29 22:28:38 UTC 2011


Mon, Nov 28, 2011 at 03:36:45PM +0200, Zenon Mousmoulas:
> Improve subversion support:
> - Support arbitrary subversion URLs as (pre-provisioned) repositories.
> - Do not overwrite an existing local repository.
> - Avoid "svn: Directory '<GROUP>' is out of date" message.
>   Included for completeness, copied from Debian patch
>   by Nicolas DEFFAYET <nicolas-ml at deffayet.com>:
>   http://patch-tracker.debian.org/patch/series/dl/rancid/2.3.6-1/09_svn.dpatch
> 
> +++ rancid-2.3.6-grnet/bin/control_rancid.in	2011-11-26 00:12:08.000000000 +0200
> @@ -167,6 +167,12 @@
>      fi
>  fi
>  
> +# svn update to avoid 'Out of date' error
> +if [ $RCSSYS = svn ]
> +then
> +    svn update
> +fi

why is this necessary?  it should never be out of date, unless someone has
altered the repository, in which case you want to be alerted to that.


More information about the Rancid-discuss mailing list