Quantcast
Channel: How to prevent Mercurial Commits containing string on Windows? - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



How 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
Browsing all 2 articles
Browse latest View live




Latest Images