[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: svn usage

On Thursday, March 09, 2006 10:42 PM -0700 Craig White <craigwhite azapple com> wrote:

I 'sort' of have this working...not that I understand what I am doing
and it's not altogether obvious from the documentation but my problems
are more conceptual usage than practical usage so I will keep on keeping
on but apparently,

svn propset svn:ignore log/* log

does somewhat what I want (but they still show up in svn status which
may be as a result of the fact that they exist there because they came
from a checkout).

You really want to ask this on the Subversion users list, where you'll find a ton of svn experts.


Follow the links to the mailing lists and subscribe to the users list. You'll also find the list carried on http://gmane.org if you want to read it as a newsgroup.

The problem you're seeing is because the value of svn:ignore is a list of file globs (wildcard expressions like you'd type on the command line). If you want to match everything in the directory, use '*'. The patterns are not recursive and don't apply to subdirectories.

So you want:

svn propset svn:ignore '*' log

Usually I want a specific set of files in the directory ignored, so I make a text file with a list of names, one per line, and set the property for that directory to that list:

svn propset svn:ignore -F /tmp/files-to-ignore .

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]