开发者

SVN ignore problem

How is this 开发者_JS百科possible?

> svn status
?       cp/app/cache
?       cp/app/logs

> svn propget svn:ignore
cp/app/cache
cp/app/logs
order/app/cache
order/app/logs

It should ignore this 2 directories, but it shows them as unversioned.


You can't set svn:ignore to file names located in subdirectories. What svn:ignore is saying is to ignore a file named "cp/app/cachethat sits in the current directory. Not a file namedcachethat sits in a directoryappwhich sites in a directorycp`. It literally means a file with two forward slashes in its name. Yes, this is illegal under Windows and Unix, but some operating systems do allow files with forward slashes in their names.

If you really want to ignore those files, you need to set svn:ignore to cache and log on the directories cp/app and order/app

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜