[SVN]:使用两个 Subversion 客户端

发布于 2024-08-09 02:29:12 字数 230 浏览 2 评论 0原文

我有一个工作文件夹。在我的工作结束后,我通过右键单击它来使用“提交”,TortoiseSVN 会提交到我本地计算机中的存储库。我使用 Aptana 进行开发,最近添加了 Subversive 插件。我想将同一个工作文件夹与 Subversive 链接起来。为此,我在不同的文件夹中创建了一个新的存储库。后来,我使用 Aptana 导入选项将现有工作文件夹导入到这个新存储库中。

我想知道它是否会正常工作。我怀疑修订号可能会被覆盖。

I have a working folder. I use Commit by right-clicking on it after my work is over and TortoiseSVN commits to a repository in my local computer. I am using Aptana for my development and recently added Subversive plugin. I want to link the same working folder with Subversive. For this I created a new repository in a different folder. Later, I used the Aptana Import option to import my existing working folder into this new repository.

I want to know whether it will work fine or not. I suspect, the revision numbers may get overwritten.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

裂开嘴轻声笑有多痛 2024-08-16 02:29:12

从您的描述来看,您似乎为相同的代码创建了两个不同的存储库。这几乎肯定不是您想要做的。

Subversion 中的“工作副本”仅附加到一个存储库。不可能(而且您也不想)将同一个工作副本与多个存储库一起使用。这根本就不是一件有意义的事。

只要您的工具(TortoiseSVN、Subversive)使用兼容的 Subversion 工作副本格式(相同的 xy 版本号),那么您应该能够将它们与相同的工作副本和相同的存储库一起使用。

From your description it sounds like you created two different repositories for the same code. This is almost certainly not what you want to do.

A "working copy" in Subversion is attached to exactly one repository. It's not possible (and you wouldn't want to) use the same working copy with more than one repository. This just isn't something that makes sense.

As long as your tools (TortoiseSVN, Subversive) use compatible Subversion working copy formats (same x.y version number), then you should be able to use them with the same working copy and the same repository.

等待我真够勒 2024-08-16 02:29:12

它要么应该工作,要么你应该得到一个错误。您不会出现数据损坏的情况。

请参阅以下问题:

It either should work or you should get an error. You won't get data corruption.

See these questions:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文