views:

24

answers:

2

I have two eclipse projects on an SVN repository that I feel should be merged into one. The easiest way that I can think of doing this is to copy the contents of both projects into a new local project, commit it, and nuke the old ones.

Is there a better, SVN-ish way of doing things?

I'm using the Eclipse Subversive plugin, for what its worth

+1  A: 

If you copy the files locally then add them to Svn as new content, you lose all the continuation in the history of your files - don't do that.

Better reorganize the files directly within the repo. I don't know Subversive, but e.g. TortoiseSVN allows this.

Péter Török
A: 

I think it depends how important the old versions are to you. If you nuke both, then you lose all the old versions. Perhaps, you can choose which project carries more "historical values" than the other one. If project A has more versions/tags/etc, then you can copy the rest of project B into A and commit A. Sure, you are going to lose all the project B's versions, but at least it is still better than nuking both. :)

limc