SVN Retrieval of mergeinfo unsupported - Reposted

This is another descriptive error message from SVN. “Retrieval of mergeinfo unsupported”

If you’re seeing this error message you’re probably trying to use the reintegrate merger feature in SVN. You probably just used a command like this one:

 
1
svn merge --reintegrate svn: //foobranch .

This error is caused by a configuration issue on your server, or a significant version mismatch between your client and server. It’s OK, though, this can be worked around pretty easily. Just fall back to the more reliable SVN 1.4 style explicit merger technique.

To use this approach you’ll need to know what revision you either created your branch from, or, if you’ve merged the trunk into your branch since creation, the revision you last merged into your branch. In this example, that revision is revision 42 (being the answer to the ultimate question)

 
1
svn merge svn: //trunk @42 svn: //foobranch .

Another option is to do an explicit revision to revision merger. This more low level syntax can be used for all sorts of crazy mergers including roll-backs and nonsensical mergers that will mess up your code. For this command you’ll need the revision from which you’d like to start your merger and the end revision. In this case I’ll be merging revisions 42 to 87. I’ll be merging these changes from the trunk to my current local path.

 
1
svn merge -r42:87 svn: //trunk ./

猜你喜欢

转载自huanyue.iteye.com/blog/1874292
svn