[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Pre step before SVN Merge

From: Ben Reser <ben_at_reser.org>
Date: Wed, 22 Jan 2014 22:03:02 -0800

On 1/22/14, 9:49 PM, Masood wrote:
> Can I write hook scripts at server end to perform the task ?
> If so, can i get any web link for it ?

A merge is just a read operation as far as the server is concerned and we don't
have hooks for reads.

There actually is one Subversion client that supports client side hooks,
TortoiseSVN:
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks

However, I don't think even they have a hook that is appropriate for what
you're trying to do.

My suggestion in your case would be to write a tool that users would use that
would do the actions you want and then run the merge via either bindings or by
driving the commandline client.

But even then there would be no way to enforce that the tool is used.
Received on 2014-01-23 07:03:40 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.