I have created a branch like this
svn copy svn+ssh://foo.bar/svn/myproject/trunk svn+ssh://foo.bar/svn/myproject/branches/feature-x
I then proceeded to checkout a working copy of my branch in another directory.
Since this is a feature branch, I would like to keep it in sync with trunk. According to The SVN Book, this should be as simple as
svn merge svn+ssh://foo.bar/svn/trunk
from my working copy directory.
It does not work however. I don't know exactly what it tries to do, but it seems to try and merge every change that has ever been committed to trunk. Instead, I would have expected it to only try and merge the changes that have happened to trunk after I made the branch.
If I try
svn propget svn:mergeinfo .
from my working copy, I get nothing. If I understand correctly, I should see something about which revisions are available for merging.
I am using svn v1.6.5
As a work around, for now, I start by writing
svn info
to get the latest changed revision. And then
svn merge -r xxxx:HEAD svn+ssh://foo.bar/svn/trunk .
where xxxx is the latest changed revision.
Update
Turns out we're running an ancient version of svn server at the office, which doesn't support merge tracking.