开发者

Selective SVN checkout based on pattern

I'm trying to partially checkout a large SVN repository that contain lots of files I don't need: object files, .class files, sound and other data files. These files may occur in any directory.

I'm tired of going through all the subdirs in the repo browser to see whether I need to check them out recur开发者_如何学编程sively or sparsely. Does SVN offer a way to checkout only files that match or don't match a (regex, glob or other) pattern?


Not directly in svn, no. See ( Can you do a partial checkout with Subversion? ).

You'd have to do a checkout at empty depth, then in your own script, update the files that match a pattern

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜