仅对属性而不是整个目录使用 svn
您好,我只想对目录的属性而不是整个
目录使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认情况下,恢复不会递归恢复,除非您添加 -R,即
会做 - 这将恢复当前目录上的属性更改,但不会触及文件修改、文件添加、目录添加等。但是,如果您想明确,您可以明确拒绝 进行递归
假设您使用的是 1.5 或更高版本,则
。如果您仍然不确定,您应该获取一份工作副本,然后进行实验!
By default revert will not revert recursively unless you add -R, i.e.
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
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!