Search code examples
svnmergeinfo

SVN: Branch and reintegrate is not working with updated server


I am working with a Subversion server that was recently upgraded to version 1.7. I am using the command-line Linux client 1.7.10.

I created a branch like this:

%: svn copy svn+ssh://acme.com/a/b/c/trunk svn+ssh://acme.com/a/b/c/branches/ovm_sequencer -m "Feature branch for ovm_sequencer"

After a couple of edits, I tried to reintegrate into the trunk and only ran into problems:

%: svn merge --reintegrate '^/c/branches/ovm_sequencer'
svn: E160013: File not found: revision 1677, path '/c/branches/ovm_sequencer'

%: svn merge --reintegrate svn+ssh://acme.com/a/b/c/branches/ovm_sequencer
svn: E200007: Retrieval of mergeinfo unsupported by 'svn+ssh://acme.com/a/b/c/branches/ovm_sequencer'

What has gone wrong and how can it be fixed?


Solution

  • Two notes:

    • ^ in SVN-path means always repository-root, thus ^/c/branches/ovm_sequencer implies "/c/branches/ovm_sequencer" inside repository, while you have (most probably) repository in acme.com/a/b/c path, and URL must be ^/branches/ovm_sequencer

    • "Retrieval of mergeinfo unsupported" means one bad fact about your Network|SVN admin - he doesn't read Release Notes for updated software: in order to have mergeinfo supported on server side except updating software for pre-1.5 Subversion to 1.5 or later, repository also must to be upgraded in order to have new format. Topic (very old - from 2008 year) on Collabnet "mergeinfo not supported"