仅对属性而不是整个目录使用 svn

发布于 2024-09-03 06:17:39 字数 101 浏览 2 评论 0原文

您好,我只想对目录的属性而不是整个

目录使用 svn 命令。

例如 svn revert

请告诉我什么命令用于此目的。

谢谢

hi i want to use svn commands only for property of a directory not for the whole

directory .

e.g. svn revert

please tell me what command is used for this purpose.

thanks

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

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

发布评论

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

评论(1

可爱暴击 2024-09-10 06:17:39

默认情况下,恢复不会递归恢复,除非您添加 -R,即

svn revert .

会做 - 这将恢复当前目录上的属性更改,但不会触及文件修改、文件添加、目录添加等。但是,如果您想明确,您可以明确拒绝 进行递归

svn revert --depth=empty .

假设您使用的是 1.5 或更高版本,则

。如果您仍然不确定,您应该获取一份工作副本,然后进行实验!

By default revert will not revert recursively unless you add -R, i.e.

svn revert .

will do - that will revert property changes on the current directory but not touch file modifications, file adds, directory adds etc. However if you want to be unambiguous you can explicitly deny recursion with

svn revert --depth=empty .

assuming you're using 1.5 or later.

If you're still not sure you should take a copy of your working copy and then experiment away!

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