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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

365 views 0 6
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