On Thu, Feb 11, 2010 at 10:11 AM, Steve Cohen <scohen_at_javactivity.org> wrote:
> I have two questions about merging, one small and one large and the
> answer to the second might also solve the first.
> The first problem is that after a merge from a branch back to HEAD,
> there are a few files that ALWAYS show up in Team->Synchronize with
> Repository as needing to be committed even though there have not been
> changes to these files in months. Checking them in does no good, the
> next merge I do will bring them back as needing to be checked in again.
> I suspect some svn property is causing this but I don't know what it
> might be. Can you tell me?
This is caused by having explicit subtree mergeinfo. When you perform
a merge, all of your paths that contain the svn:mergeinfo property
will be updated to reflect the revisions you merged.
See this blog post:
> The second question is this. On another branch, I have been working on
> a wholesale change of the entire system. Basically this new system will
> use Maven, and the previous one did not. Code has been moved between
> projects, or into new directory structures and there are new projects
> created, old projects deleted, etc. Eventually, I am going to want this
> branch to BECOME the _trunk, replacing anything that is now in the
> trunk. I will want the no-longer used projects to be gone from the
> trunk, the new projects added to the trunk, and those projects that have
> been changed to still exist. The project structure is basically
> and I will want it to be this
> Oh, yes, and I'd also like history to be maintained.
> What type of merge is the best way to achieve this? Or is there a
> better way? And if I do it will the first small problem be solved?
If Branch contains the contents you want, then I would not do a merge.
I would delete trunk and then copy or move BRANCH_NEW so that it is
called trunk. This can be done from the SVN Repositories view.
We even did this years ago in Subclipse. When Eclipse 3.0 came out
the Team API drastically changed and so we had to rewrite huge parts
of Subclipse. Eventually that branch just became trunk. Here are the
First we created branches for trunk to preserve it. We also deleted
trunk at the same time:
Then we recreated trunk by copying the Eclipse 3.0 branch.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-02-11 21:10:10 CET