how does the svn plugin treat branches when they are merged

WE have developers working on a branch of the code when they are satisfied they are merging their changes with the main code. The checkins they have done are in the branch. but the Repository path we have setup in JIRA is the main. When the code bases are merged the svn tab does not show the checkins which were done in the branch. is there a way for the plugin to get the commits from the branch after they are meged.

1 answer

This widget could not be displayed.

The simple answer is no.  The plugin just sees the message when the commit was done after the merge.   If you want to collect the commit messages you will need to build a separate tool and then put those messages into the commit message after the merge.

  1. svn log -v --stop-on-copy http://repo/branch
    Use this output to figure out the revision number representing your last merge from the branch to trunk. (XXXX)

  2. svn log -rXXXX:HEAD http://repo/branch > messages.txt
     This collects all your commit messages.

  3. Perform the merge

  4. svn commit -F messages.txt

     

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...

484 views 3 18
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