fanfavorite
fanfavorite

Reputation: 5199

SVN Ignore Not Applying?

I am trying to figure out svn:ignore. I am using:

svn propedit svn:ignore file://path/myrepository/project

Within there I am adding 'files' to that and then saving. It commits the revision fine. When I now go to a machine to SVN Update it, it downloads the files directory. How come that isn't applied? With SVN, do you need to apply things by doing some sort of restart? I am using a Red Hat Linux box.

Thanks.

EDIT: Looks like I misunderstood ignore.

Upvotes: 0

Views: 70

Answers (1)

knittl
knittl

Reputation: 265221

svn:ignore only works for untracked files. once you have added a file to your repository it cannot be ignored again (unless removed again). Why should you ignore a file that you initially wanted to track?

svn:ignore only saves you from accidentally adding garbage (build products, backup/swap-files, log files, etc.). It will not forbid downloading of files from the repository (if I understood your last sentence)

Upvotes: 3

Related Questions