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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.
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 Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

425 views 3 17
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