Is there any way to perform pre-/post-switch commands using TortoiseSVN?
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2009-05-06T18:45:39Z
Indexed on
2010/04/11
20:03 UTC
Read the original article
Hit count: 171
svn
|tortoisesvn
We need to perform some tasks when switching from one Subversion branch to another using TortoiseSVN. Is there any way to, say, call a batch file before and after the switch? The only thing I can find are pre-/post-update and commit hooks, but none of those get executed when switching between branches.
EDIT: I am looking for client-side hooks. TortoiseSVN has client-side hook scripts for pre-/post-update and commit, but nothing (that I can find) for pre-/post-switch. Initially, I thought adding hooks for client-side pre-/post-update would be executed when switching between branches, but this does not seem to be the case.
© Stack Overflow or respective owner