We have had no end of trouble managing branches, lately, and for no clear reason. This is how we generally introduce a big change:
Step 5 always gives me grief. I try to use the suggested command:
svn merge --dry-run URL-TO-TRUNK@HEAD URL-TO-BRANCH@HEAD
This does crazy things, like show that it's going to a huge mess of files. If I drop the --dry-run, I get weird errors about what URL things claim to be using. I asked #svn, where I got one response suggesting that my URLs were wrong. They were not -- I checked them a dozen times.
Finally, I resorted to rsyncing, which made me feel ashamed. Has anyone else had this sort of difficulty?
More and more, I think I'll be moving my personal svn to darcs.
darcs and svn (Score:1)
From using both kinds of systems, I know I'm simply more productive with darcs, including less merging difficulties, as you described above.
To explain in more detail how darcs helps me be more productive, I created this page which compares darcs workflow with Subversion's [darcs.net]
You can't do that (Score:1)
The problem is that you are trying to apply changeset X twice to trunk.
Let me try to explain. Please note that I'm not a wizard or expert of source control systems, but I think I know this one.
You start the branch at revision 10, then you commit 11, 12, 13 to branch.
You then do 14 to trunk and merge to branch. branch now has modifications made in trunk that you commit as rev 15.
Now if you try to merge with trunk, there are two changesets that do the same thing: 15 and 14. Subversion as no histor
life is short
Re: (Score:1)
rjbs
Re: (Score:1)
Ok, different expectations. Working with darcs, I expect that after the last merge from branch to trunk, the systems knows which revisions from branch where merged.
This is very helpful, because the next merge from branch to trunk should only merge the subsequent revisions on branch.
In Subversion, they just diff the two, and apply the diff to the trunk. It loses track of which changeset's where merged.
Yes, I see how this works now. So we are down to svn command line syntax to make it work...
I
life is short
Use "svnmerge" (Score:1)
I wrote a walkthrough showing how to use it that might be useful; http://wikitest.freebsd.org/SVN_Merging [freebsd.org]
Re: (Score:1)
Re: (Score:1)
I think it would be tedious and annoying. I think the svnmerge program would help make it less so.
rjbs