Answer by DOOManiac for How to prevent Mercurial Commits containing string on...
Turns out the PowerShell part was easier than I expected. I ended up just writing my own simple script based on this gist.Here it is for all who are intersted:# This is like an "include" needed for the...
View ArticleHow to prevent Mercurial Commits containing string on Windows?
I'm looking to prevent commits to my local Windows Mercurial repo if the following string is present in any uncommitted files:DO NOT COMMIT MEI know that the Pre-commit hook I need is pretxncommit. If...
View Article
More Pages to Explore .....