[SVN]:同步文件夹

发布于 2024-08-08 23:38:56 字数 212 浏览 10 评论 0原文

我有一个文件夹,其中保存了 Aptana Subversive SVN 插件的签出版本。我还有另一个文件夹,其中包含从 Eclipse 签出的副本。两者,阿普塔纳和Eclipse 使用相同的存储库。虽然存储库是相同的,但我使用两个不同的工作文件夹。有时我使用 Eclipse 来处理存储库中的同一组文件,有时我使用 Aptana。

我想要一个可以自动同步两个工作文件夹的工具。有没有免费的工具?

I have a folder where I keep checked-out version from Aptana Subversive SVN plugin. I have another folder where the checked-out copy from Eclipse resides. Both, Aptana & Eclipse, are using the same repository. Though the repository is the same, but I am using two different working folders. Sometimes I use Eclipse to work with the same set of files in the repository and sometimes I use Aptana.

I want a tool that can synchronize the two working folders automatically. Is there any free tool?

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

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

发布评论

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

评论(2

咆哮 2024-08-15 23:38:56

事实上,SVN就是做到这一点的工具。如果你对抗 SVN,你会遇到麻烦,因为你可能没有将两个工作副本更新到相同的版本,合并工具会弄乱隐藏的 .svn 文件夹等等。

您认为为什么需要手动同步这两个工作副本?如果您想同时处理这两个工作,而又不想因为不断检查不成熟的事情而打扰其他人的工作,请考虑在分支上工作。为此,您可以使用 SVN,它旨在保持两个工作副本同步。如果您完成了正在做的任何事情,请将该分支合并到主干(或您正在工作的任何分支)中并将其丢弃。

如果您觉得所有这些签入可能会使您的存储库变得太大,请使用更大的磁盘来存储它。当您或该工具第一次搞乱手动合并时,它就会得到回报。如果您担心在没有做实际工作的情况下增加 SVN 的修订次数,请抓紧时间。

Actually, SVN is the tool to do just that. If you fight SVN, you will run into trouble, because you might not have both working copies updated to the same the same revision, the merge tool messes up the hidden .svn folders and whatnot.

Why do you think you need to manually synchronize those two working copies? If you want to work on both simultaneously without disrupting other's work because you keep checking in half-baked things, consider working on a branch. Doing so, you make use of SVN, which was designed to keep two working copies in sync. If you're done with whatever you're doing, merge that branch into the trunk (or whatever branch you were working at) and throw it away.

If you feel like all this checking in might make your repository become too big, get a bigger disk to store it on. The very first time you or that tool messes up manual merging, it would have payed off. If you're afraid of bumping SVN's revision count without doing actual work, get a grip.

姐不稀罕 2024-08-15 23:38:56

Araxis Merge 具有自动合并功能。

Araxis Merge has automated merge.

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