subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Reser <...@reser.org>
Subject Re: Pre step before SVN Merge
Date Thu, 23 Jan 2014 06:03:02 GMT
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.

Mime
View raw message