开发者

subversion include directory exclude files

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜