I redirected Michiel on IRC to the svnmerge mailing list.
Michiel van Baak wrote on Sat, 31 Oct 2009 at 23:26 +0100:
> This patch adds exit codes to the action_* methods.
> All the methods will return 0, except the svnmerge avail action when no
> candidates are found. It will then return 2
>
> This can be used when creating an automated merge (svn-automerge)
>
> We use this to allow developers to set a property on their
> developerbranch and a cronjob on the server will run svnmerge every hour
> on all the branches that have this property set.
> That way we keep the branches in sync with their source.
>
> To speed up the whole cronjob we needed a way to detect wether a branch
> needs an svnmerge. So we added exit codes and return 2 if the
> action_avail finds no revs to merge.
>
> Code based on a patch from Digium
> http://svnview.digium.com/svn/repotools/svnmerge?r1=5&r2=6
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414626
Received on 2009-11-05 08:27:26 CET