svn - Do I need to checkout both TRUNK and BRANCH to merge branch back into trunk -
having issue, here problem.
created branch trunk, made changes branch on local dev box, committed changes , want merge changes in branch trunk.
i run command: 46 version created branch, 49 branch version now
sudo svn merge -r 46:head http://path/to/branch/repo/verion/that/is/checkout
after running command in web gui see if changes have been made trunk, don't see them. thought maybe should run commit command.
sudo svn commit -m "merging branch trunk"
still after checking trunk don't see changes.
can please tell me i'm doing wrong?
thanks
you should make sure working copy @ trunk switching trunk:
cd /path/to/workingcopy svn switch http://server/svn/repo/path/to/trunk
before merging, make sure you're date (run svn update
, , there no dirty files.
then can merge branch trunk working copy:
svn merge -r 46:head http://server/svn/repo/path/to/branches/mybranch
this change files, , allow commit merge
Comments
Post a Comment