RADA
RADA

Reputation: 464

SVN ignore being ignored

In my "application" dir, I have a "logs" directory and a "config" directory, both under version control, both having locally modified files, both told to ignore these files. However only one of the ignores works:

> pwd 

  website.com/trunk/application/

> svn propget -R svn:ignore

  logs - *.log
  configs - *.ini

> svn status

  M  logs/website.log

What am I doing wrong? Thanks for any pointers.

Upvotes: 0

Views: 570

Answers (2)

Sander Rijken
Sander Rijken

Reputation: 21615

Apart from Daniel Gehringer's answer, which is part of the solution, svn:ignore only works for non-versioned files. When files are versioned, it's expected that they show status M when they're changed.

Upvotes: 5

Daniel Gehriger
Daniel Gehriger

Reputation: 7468

I don't think you can add descriptions to svn:ignore. The list should be simply

*.log
*.ini

Upvotes: 2

Related Questions