Ignore Commits Based on Commit Message Text

We use svnmerge to manage mutliple developer branches and our integration tree. We need the ability to ignore any commit message with a certain keyword (svnmerge) since the default svnmerge commit messages contain all commit messages concatenated together. So, the wrong commits are getting attached to issues in JIRA. How can we do this?

3 answers

1 accepted

0 votes
Accepted answer

I am assuming you are talking about the svnmerge python script verses the svn merge command. Actually it does not matter. The svn commit, where the message is added, is usually done separately. I know that the svnmerge.py script does not do the commit. The svnmerge script only suggests a commit message. I would preprocess message before the commit to change your tags in the suggested message like MERGEDIN<tag>-<number>.

http://www.orcaware.com/svn/wiki/Svnmerge.py

I ended changing "commit-verbose" option to False. This excluded detailed revision messages.

I am talking about python script. I will look into changing default change message. Do you by chance know where the template is? I'll research and accept once I find it.

Which template? Do you mean the regex for figuring out Jira's issue identifiers?

https://confluence.atlassian.com/display/JIRA050/Configuring+Project+Keys

You did not state which Jira plugin you are using to get your issues processed into Jira? Fisheye, Subversion or some other external scripts.

I am talking about python script. I will look into changing default change message. Do you by chance know where the template is? I'll research and accept once I find it.

I ended changing "commit-verbose" option to False. This excluded detailed revision messages.

Which template? Are you asking about the regex expression used by Jira to match for jira issues in svn messages?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

320 views 0 1
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