how does the svn plugin treat branches when they are merged

Gulfam Amin ul Haq
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2015

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

0 votes
Norman Abramovitz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2015

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
TAGS
AUG Leaders

Atlassian Community Events