开发者

Why is svn:ignore ignored?

I just ran

svn add myfolder/*

To add all the files in there to my repo. It added the .pyc files too. I'm looking at my svn:ignore now and it says:

*.pyc
*~

Should that not have prevented those file开发者_运维知识库s from being checked in?


No, it should not. svn:ignore prevents files from being shown in the svn status. But if you're adding the files explicitly - then svn will add them, of course.

http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜