I've come back to SVN after a number of years and I am trying to get my head around branching / merging. I have the following test setup on a linux box and I'm using command line:
Project
- trunk
- branch
- tags
I have local working copies of the branch and trunk in ~/workingcopy and ~/workingcopybranch
For test purposes I have imported a SeamTest project. Both working copies are currently at revision 14. with everything committed back to the repository
Here is the result from my diff:
~/workingcopy/SeamTest $ svn diff http://localhost/svn/myproject/branches/heidisbranch/SeamTest http://localhost/svn/myproject/trunk/SeamTest
Index: WebContent/home.xhtml
===================================================================
--- WebContent/home.xhtml (.../branches/heidisbranch/SeamTest) (Revision 14)
+++ WebContent/home.xhtml (.../trunk/SeamTest) (Revision 14)
@@ -8,7 +8,6 @@
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml">
<!-- testing -->
-<!-- adding info into branch code-->
<ui:define name="body">
<h1>Welcome to Seam!</h1>
Index: .
===================================================================
--- . (.../branches/heidisbranch/SeamTest) (Revision 14)
+++ . (.../trunk/SeamTest) (Revision 14)
Eigenschaftsänderungen: .
___________________________________________________________________
Added: svn:mergeinfo
As you can see the comment "adding info into branch code" is in the branch and the comment "testing" is in the trunk
When I then go to perform SVN merge from the trunk working directory it doesn't seem to register that there are differences:
~/workingcopy/SeamTest $ svn merge http://localhost/svn/myproject/branches/heidesbranch/SeamTest http://localhost/svn/myproject/trunk/SeamTest .
-- Zusammenführen der Unterschiede zwischen Projektarchiv-URLs in ».«:
G .
--- Eliding mergeinfo from '.':
U .
-- Aufzeichnung der Informationen für Zusammenführung zwischen Projektarchiv-URLs in ».«:
G .
No changes are made to the working copy of my project. Any help would be greatly appreciated.