mpen
mpen

Reputation: 282825

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 files from being checked in?

Upvotes: 1

Views: 302

Answers (1)

zerkms
zerkms

Reputation: 254896

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

Upvotes: 4

Related Questions