AnkhSVN client side pre-commit hook

Posted by santa on Stack Overflow See other posts from Stack Overflow or by santa
Published on 2012-03-27T11:25:32Z Indexed on 2012/03/27 11:29 UTC
Read the original article Hit count: 741

Basically I want to do the same thing as the fella over there.

It seems that everybody was thinking about server-side hooks (with all their evil potential).

I want a client side script be run before commit so astyle can format the code the way my boss likes to see it.

Since my IDE (VS2010Pro) automatically checks when a file changed on the disk an opts me in for reloading it, there is no real evil with all that.

Is there any (clean) way to accomplish that with AnkhSVN?

Maybe there's also a way to extend VisualStudio to call my pre-commit-script...

© Stack Overflow or respective owner

Related posts about svn

Related posts about code-formatting