I accidentally committed a change in branches/2.1/foo.cpp
instead of branches/2.0/foo.cpp
.
The most straightforward way to fix this seems to be to merge the change back to 2.0:
~/branches/2.0 $ svn merge svn://repository/branches/2.1/foo.cpp foo.cpp
But, according to this document this should be avoided:
Avoid subtree merges and subtree mergeinfo. Perform merges only on the root of your branches, not on subdirectories or files
What would be the best way to go about then?