开发者

subversion include directory exclude files

开发者 https://www.devze.com 2023-01-13 12:12 出处:网络
I want to include a开发者_StackOverflow中文版 directory when I do my imports but exclude any files that might be in it.how can this be done?

I want to include a开发者_StackOverflow中文版 directory when I do my imports but exclude any files that might be in it. how can this be done?

ie: include cache dir, but exclude all the cache files in it.

in my global-ignores I have tried cache and *cache/**, the former just excluded the entire cache dir - expected. and the later included everything.


svn propset svn:ignore "*" ./mycachefolder/

In eclipse you would rightclick the folder and select "add property". Simple add a * then.


During an import you can simply control by deleting or moving the files from the location you don't like to import.

The simplest solution is to move the files to a backup location do the import and that's it.


http://github.com/shuber/svnignore - git style ignores with subversion

0

精彩评论

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