Hi, Thanks for your prompt reply.
On Saturday, 28 October 2017 10:31:51 UTC+2, Stefan wrote: > > > > On Saturday, October 28, 2017 at 10:13:20 AM UTC+2, Duncan Portelli wrote: >> >> Hi, >> >> I am on the latest version of Tortoise SVN (1.9.7.27907) and I added a >> client-side post-commit hook. The hook is getting triggered whenever I have >> a successful commit. However, when I get an Access Forbidden error, the >> hook isn't triggered. >> >> > Since it's a post-commit hook, it only gets triggered if the commit is > actually done. > If the commit fails, there is no commit, and therefore no 'post-commit'. > On the Tortoise SVN User Guide <https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks>, there is listed that a Post-Commit gets "called after the commit finishes (whether successful or not)". > > >> I don't know if this is a bug or not, but if not, is there any way to >> capture an Access Forbidden message in a hook please? >> >> > What do you want to do in your hook? > I want to clear the authentication data if I get an Access Forbidden message. > > Stefan > > -- You received this message because you are subscribed to the Google Groups "TortoiseSVN" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/aad55e2a-edc4-4a75-a2d1-da75d5b63bda%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
