这怎么可能?
> svn status
? cp/app/cache
? cp/app/logs
> svn propget svn:ignore
cp/app/cache
cp/app/logs
order/app/cache
order/app/logs
它应该忽略这 2 个目录,但将它们显示为未版本化。
这怎么可能?
> svn status
? cp/app/cache
? cp/app/logs
> svn propget svn:ignore
cp/app/cache
cp/app/logs
order/app/cache
order/app/logs
它应该忽略这 2 个目录,但将它们显示为未版本化。
您不能设置svn:ignore
为位于子目录中的文件名。意思svn:ignore
是忽略一个名为“cp/app/cache that sits in the current directory. Not a file named
cache that sits in a directory
app which sites in a directory
cp`的文件。它的字面意思是一个名称中有两个正斜杠的文件。是的,这在Windows和Unix下是非法的,但有些操作系统确实允许文件在他们的名字中带有正斜杠。
如果你真的想忽略这些文件,你需要设置svn:ignore
到目录cache
和log
cp/app
order/app