Mac 10.4 同步文件

发布于 2024-07-16 01:34:24 字数 222 浏览 3 评论 0原文

我正在使用 Google 代码 svn 并设置了存储库。 在存储库中,我包含 TinyMCE,现在我想升级此文件夹中的所有文件。 我遇到的问题是,如果我在本地签出,然后下载他们的新版本并替换文件夹,它会清除我所有的 svn 文件。 因此实际上将其从版本控制中删除。

我想知道更新这些文件夹和文件夹的最佳方法是什么? 文件但保持 svn 文件完整? 我一直在寻找,但似乎找不到任何简单的方法。

I am using Google code svn and have a repository setup. Inside the repository I am including TinyMCE and now I want to upgrade all the files in this folder. The problem I am having is if I checkout locally and then download their new version and replace the folder it wipes out all my svn files. So in effect removes it from version control.

I was wondering what is the best method to update those folders & files but keep the svn files intact? I have been searching but can't seem to locate any simple method.

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

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

发布评论

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

评论(3

や莫失莫忘 2024-07-23 01:34:24

您可能需要使用ditto命令。

很简单:

ditto /path/to/newFiles /path/to/your/workingCopy

You may want to use the ditto command.

It's as simple as:

ditto /path/to/newFiles /path/to/your/workingCopy
影子的影子 2024-07-23 01:34:24

您可能想要的是设置 svn:externals,或者您可以还想看看 Piston 之类的东西。

What you may want is to setup svn:externals, or you may also want to take a look at something like Piston.

月下伊人醉 2024-07-23 01:34:24

tar 这样简单的东西不会破坏 .svn 目录。 或者rsync(除非你要求它),或者unzip,或者编写一个简单的shell脚本,或者...

Something as simple as tar will not nuke the .svn directories. Or rsync (unless you ask it to), or unzip, or writing a simple shell script, or...

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