I'd like to execute a small clientside script/exe/bat after a successful repository export from TortoiseSvn.
The process would look like:
- Right click repository
- Click TortoiseSVN Export menu item
- Export sucessfully completes
- TortoiseSVN runs my script.
I've already looked at creating a custom client hook, but they're only available for start/pre/post-commit and start/pre/post-update, whereas I need post-export.
Any ideas?
Best Answer
I don't think this can be done in Tortoise. As you already say, there are hooks, but not for exporting.
I'd say this calls for a script or batch file. SVN has its own command line client that you could use to do the export; You could check for a successful export using ERRORLEVEL:
export.bat
untested but should work.