Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion Merging

Tags:

svn

ankhsvn

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

  • "No uncommitted modifications"
  • "No switched children"

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

like image 461
Jack Mills Avatar asked Feb 28 '11 14:02

Jack Mills


1 Answers

"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 
like image 154
Sander Rijken Avatar answered Oct 28 '22 04:10

Sander Rijken