[英]How do I upload a new version of my project to SVN (eclipse)?
I have a Java project in an SVN server. 我在SVN服务器上有一个Java项目。 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
. 所以我把新项目的名称改为
projectName_improved
。 I created a new folder for the project on the server. 我在服务器上为项目创建了一个新文件夹。 Now I want to upload
projectName_improved
to the new folder. 现在我想将
projectName_improved
上传到新文件夹。 I'm using eclipse (+SVN plugin). 我正在使用eclipse(+ SVN插件)。 How do I technically do it (without branching)?
我在技术上如何做到(没有分支)?
EDIT: The plugin I'm using is Subclipse . 编辑:我正在使用的插件是Subclipse 。
Browse... 浏览...
Find the project on your computer. 在您的计算机上找到该项目。 OK.
好。 OK.
好。 That's it.
而已。 The new (improved) project is being uploaded to the server.
新(改进的)项目正在上传到服务器。 Done.
完成。
Not a Java person myself, but from experience it sounds like you need to either; 我自己不是一个Java人,但从经验来看,它听起来像你需要;
A. Create a new repository on the SVN server. A.在SVN服务器上创建新的存储库。 or B. Simply ADD the new folder in the existing repository and then in eclipse you should be able to commit.
或B.只需添加现有存储库中的新文件夹,然后在eclipse中您应该能够提交。
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. 我不认为eclipse插件本身有任何东西可以让你添加新的文件夹,你必须从操作系统或使用像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. 当我说ADD时,我的意思是你可以右键单击win explorer中的文件夹,在SVN下你可以单击Add命令。 I am using tortoisesvn.... it will also add icons to your folders to let you know what needs to be committed.
我正在使用tortoisesvn ....它还会在您的文件夹中添加图标,让您知道需要提交的内容。
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). 首先断开svn
(eclipse -> team menu -> disconnect)
,这将删除现有的svn信息(当它询问时说是)然后再从team menu share project- > follow on screen guiding
进入svn repo(选择)你要放入的地方。可能是树干)。 is this not working? 这不起作用吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.