Reputation: 54521
I have a Java project in an SVN server. I created a whole new version of it and now I want to "commit" but keep the previous version on the server. I'm not allowed to use branches on this project. So I've changed the new project's name to projectName_improved
. I created a new folder for the project on the server. Now I want to upload projectName_improved
to the new folder. I'm using eclipse (+SVN plugin). How do I technically do it (without branching)?
EDIT: The plugin I'm using is Subclipse.
Upvotes: 9
Views: 2818
Reputation: 54521
Browse...
Find the project on your computer. OK. OK. That's it. The new (improved) project is being uploaded to the server. Done.
Upvotes: 8
Reputation: 14548
Disconnect from the svn first (eclipse -> team menu -> disconnect)
which will delete the existing svn info(say yes when it asks) and then again from the team menu share project- > follow on screen guiding
into the svn repo (chosing the place you want to put it in. probably trunk). is this not working?
Upvotes: 0
Reputation: 7712
Not a Java person myself, but from experience it sounds like you need to either;
A. Create a new repository on the SVN server. or B. Simply ADD the new folder in the existing repository and then in eclipse you should be able to commit.
I don't think there is anything in the eclipse plug-in itself that alows you to ADD new folders, you have to do that from the OS, or using an app like RapidSVN.
When I say ADD i mean that you can right click on the folder in win explorer and under SVN you can click the Add command. I am using tortoisesvn.... it will also add icons to your folders to let you know what needs to be committed.
Upvotes: 1