How to invoke tortoisemerge through a batch script?

207 views Asked by At

Scenario: When I try to reintegrate (merge) the branch to trunk, I want to run some script before the actual merge starts.

Its something like, The moment I click on merge, enter the url & click ok, the script must be run first. This script will run some analysis, based on the result of this analysis, merge continues or aborts.

Can someone guide me on this?

1

There are 1 answers

2
Lazy Badger On

Tsvn Settings - Diff Viewer - Merge tool

Select your custom tool (bat-file, which include you tool and conditional run of TortoiseMerge) instead of default selection