使用Eclipse中的SVN和终端提示符(Using SVN from Eclipse and the terminal prompt)

编程入门 行业动态 更新时间:2024-10-28 15:33:21
使用Eclipse中的SVN和终端提示符(Using SVN from Eclipse and the terminal prompt)

我运行ubuntu,因此我喜欢终端提示。 我从提示符运行大多数svn命令。 但我有一个问题...我在终端使用svn检查我的代码:

svn co <svn-url> <local dir>

不错...

现在我去eclipse并进行开发......我有subeclipse并且让我说我从svn / eclipse gui做了一个提交。 现在,如果我回到终端的svn并执行:

svn commit

我明白了:

svn:这个客户端太旧了,无法使用工作副本'/ home / marhin / dev / trunk'。 您需要获得更新的Subversion客户端,或者降级此工作副本。 有关详细信息,请参见http://subversion.tigris.org/faq.html#working-copy-format-change 。

我检查了链接,据我所知,我没有帮助我...我的svn版本是:

svn --version svn, version 1.5.4 (r33841) compiled Feb 23 2009, 20:42:53

我的Subversion客户端适配器版本是:1.6.0.2

谢谢

I run ubuntu, and thus of cause I like the terminal prompt. I run most svn commands from the prompt. But I have a problem... I checkout my code using the svn in a terminal:

svn co <svn-url> <local dir>

nice...

Now I go to eclipse and do the development... I have subeclipse and lets say that I do a commit from the svn/eclipse gui. Now if I go back to svn in a terminal and do:

svn commit

I get this:

svn: This client is too old to work with working copy '/home/marhin/dev/trunk'. You need to get a newer Subversion client, or to downgrade this working copy. See http://subversion.tigris.org/faq.html#working-copy-format-change for details.

I have checked the link and as far as I can see i does not help me... My svn version is:

svn --version svn, version 1.5.4 (r33841) compiled Feb 23 2009, 20:42:53

my Subversion Client adapter version is: 1.6.0.2

Thanks

最满意答案

您可以使用change-svn-wc-format.py ,它可以将您的工作复制版本改为旧版本。 如果你使用eclipse,这是特别好的,因为他们需要一些时间来获得当前版本。 如果您习惯于命令行jjust在最后一个svn命令之后启动此脚本并切换回eclipse。

You can use change-svn-wc-format.py which can reform your workingcopy version to an older one. this is especially nice, if you are using eclipse, as they need some time to get to the current version. If you are used to command line jjust start this script after your last svn command and switch back to eclipse.

更多推荐

本文发布于:2023-08-03 16:37:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1395049.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:提示符   终端   SVN   Eclipse   terminal

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!