hello,
So far, I know how to create patch files for pre-commit code review in crucible. But we can still commit the code to svn repository if the code is not reviewed. I want the codes in svn repository are all reviewed. The codes not reviewed can not commit to svn repository. Should I write svn pre-commit hook? Please help me with this problem. Thanks
Your use case is not totally clear, but it sounds as you were to check if the commit message contains a code review number.
If that's some formatted expression (like "FOO-123"), then you can automate this with the Commit Policy Plugin. It has a condition that requires the commit message to match a regular expression, and you can use this to enforce entering the expression!
Do you use "grep" in pre-commit.bat to catch the key code review number? Is that review number linked to crucible? Can you show me your pre-commit hook? Thank you very much.
I do not know how to add the link number of crucible in our svn log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I would write a svn pre-commit hook because that is the only way to handle all different types of clients.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.