开发者

SVN ignore being ignored

开发者 https://www.devze.com 2023-02-07 15:55 出处:网络
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

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/trun开发者_StackOverflow中文版k/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.


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.


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

*.log
*.ini
0

精彩评论

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

关注公众号