开发者

Subversion Merging

开发者 https://www.devze.com 2023-02-14 09:20 出处:网络
I have a trunk that contains the current release code with various bug fixes in it and a branch that contains various new features for the next release of the system. I\'m trying to merge the bug fixe

I have a trunk that contains the current release code with various bug fixes in it and a branch that contains various new features for the next release of the system. I'm trying to merge the bug fixes from the trunk into the branch ready for testing but I'm coming across some problems.

I'm using AnkhSVN and selecting the option "Merge a range of revisions". Two problems are presented

I have no pending changes. Could this be an issue with other users having uncommitted changes?


"No uncommited modifications" usually means that there are pending changes. It could be that either the switched working copy causes the message to come up, or that there are uncommitted modifications not in Pending Changes. To check for this run:

svn status -q c:\path\to\workingcopy

"No switched children" means that you have a switched working copy, this means that there's at least one directory 'connected' to a different branch in the working copy than the root directory of the working copy. To fix this, you have to switch the root of the working copy to the branch again. Unfortunately AnkhSVN doesn't allow you to do this (yet). You can run the command line client something like:

svn switch <reposurl>/branches/correctbranch c:\path\to\workingcopy 


One possibility is your working copy is trunk.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号