简体   繁体   中英

Set SVN bugtraq properties recursively on all folders with local working copy

I am trying to implement the TSVN Bugtraq properties on a repository. However, the repository is very large, so I don't want to have to download the entire thing to a working copy in order to set those properties. I'd prefer to set them server-side.

My plan was to do something like this:

svn propset -R propname value svn://myrepo.path/

But that gives me this error:

svn: E200009: Targets must be working copy paths

In doing some reading, apparently svn propset only works on local working copies.

Is there any way to do a recursive propset on an entire repo without having to download the full repo to a working copy?

Subversion 1.8有了“ 继承属性 ”的概念,现在您只能在树根中定义属性

The Subversion bugtraq property, as it happens, is unique: it was an inherited property prior to 1.8! So in version 1.7 you need only check out the root level folder--with no children--and apply the property. Once that is done you can even confirm that it works before you commit the property change.

I have written about this extensively in part 8 of my TortoiseSVN and Subversion Cookbook , on Simple-Talk.com.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM