It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

svn pre-commit code review

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

3 answers

Yes, I would write a svn pre-commit hook because that is the only way to handle all different types of clients.

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.

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!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

82 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you