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 named
cachethat sits in a directory
appwhich sites in a directory
cp`. 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
精彩评论