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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

165 views 0 4
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