开发者

using svn only for a property not for entire directory

开发者 https://www.devze.com 2023-01-01 09:44 出处:网络
hi i want to use svn commands only for property of a directory not for the whole directory . e.g. svn revert

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

directory .

e.g. svn revert

ple开发者_Python百科ase tell me what command is used for this purpose.

thanks


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消