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

Re: (Client Side) Merge Hook

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: Thu, 31 Aug 2017 15:29:33 +1200

On 25/08/2017 05:28, William Cushing wrote:
> I’d like to write a hook script that gets invoked after both updating
> and merging.  I’ve got it working if I do an update (which I think means
> it also works for switching and for checkouts, but I haven’t tested
> that), but I can’t figure out how to make it run after doing a merge
> between branches.

Merges are just modifications to the working copy, not really any
different from manual modifications or applying patch files as far as
the hooks are concerned, so they don't run any AFAIK.

You probably could however detect a change in the svn:merge-info
property on pre-commit and do some special post-merge handling there.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-09-02 03:09:13 CEST

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