svn命令行从eclipse [英] svn command line from eclipse

查看:328
本文介绍了svn命令行从eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你有没有办法使用eclipse中的svn命令行?



在我的项目浏览器的eclipse中,我可以右键点击团队,而不是像我SVN。不知道是哪个插件。但是它没有按钮,例如忽略上传文件。这就是为什么我想要命令行。我的问题是如何做到这一点。



确定如何在Windows XP中使用命令行?

解决方案

您可能使用的插件是 Subclipse 。它应该有一个添加到svn:忽略选项。如果没有,请尝试更新到最新版本的Eclipse和Subclipse。一般subclipse应该是足够的,不需要命令行。



对于Windows XP我推荐龟龟SVN 。它与Windows资源管理器集成,为您提供所有需求的图形化环境。我会说这比subclipse更加稳定,非常易于使用。



如果你想使用命令行工具,请从

下载并安装svn-win32, a href =http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 =nofollow noreferrer> here 。命令行工具可能有助于合并和复制操作。



我还应该指出,这些方法中没有一个会互相干扰。您可以使用Tortoise SVN或命令行和subclipse不会受到影响。所有svn客户端通过写入和从隐藏的名为.svn的目录读取工作。源控件下的每个文件夹都有一个这样的目录。只要svn客户端软件具有相同的版本,svn客户端就可以写入这些隐藏的文件夹,另外一个可以读取它们。如果其中一个客户端更新为使用不同协议写入.svn文件夹的版本,则可能会出现问题。在这种情况下,较旧的客户端将无法读取存储在那里的信息。将其升级到最新版本将解决问题。


Hello is there a way to use svn command line from eclipse?

Within eclipse in my project browser i can righclick and then click team and than i have something like svn. Not sure which plugin it is. But it doesn't have button's to for example ignore files for uploading. That's why I want to to it command line. And my question is how to do it.

Ok so how can I use it from command line in windows xp?

解决方案

The plugin you are probably using is Subclipse. It should have an "Add to svn:ignore" option. If not, try updating to the latest versions of Eclipse and Subclipse. In general subclipse should be enough and there is no need for the command line.

For Windows XP I recommend Tortoise SVN. It integrates with the Windows Explorer and offers you a graphical environment for all your needs. I would say that is much more stable than subclipse and very easy to use.

If you do want to use the command line tools, download and install svn-win32 from here. The command line tools could be helpful in merge and copy operations.

I should also point out that none of these methods interfere with each other. You can work with Tortoise SVN or the command line and subclipse won't be affected. All svn clients work by writing and reading from hidden directories called .svn. There is one such directory in every folder under source control. As long as the svn client software is of the same version, an svn client can write to these hidden folders and another one will be able to read from it. A problem could arise if one of the clients is updated to a version that uses a different protocol for writing to the .svn folders. In that case, older clients won't be able to read the information stored there. Upgrading them to the latest version will solve the problem.

这篇关于svn命令行从eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆