[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] BUG: ignore on directories?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-06-02 18:45:17 CEST

Subversion's ignores lists should only contain single path components,
as the ignore algorithm is only applied to the immediate children of
the directory on which the svn:ignore property is set. So, to ignore
.../libraries/foo, you need to add 'foo' to the svn:ignore property
set on the ".../libraries" directory.

Andrew Patterson <andrew@avenza.com> writes:

> Hi,
>
> I've found what I think is a bug in TortoiseSVN, with the ignore list,
> but maybe I'm simply incompetent :P
>
> I'm having trouble ignoring a specific directory deep in my source
> tree. Ignoring directories on the immediate root seem to work, but
> not farther up the hierarchy.
>
> Example tree:
>
> includes/
> src/
> libraries/includes
> libraries/src
> libraries/foo
> Debug/
> Release/
>
> If I tell it to ignore Debug & Release, it will ignore them and
> everything in them. If I tell it to ignore 'foo', it will still show
> any files not under source control in libraries/foo.
>
> Variants I've tried:
>
>
> libraries/foo/*
> libraries/foo/
> libraries/foo
> */foo/*
> */foo/
> */foo
> foo/
> foo/*
> foo
>
> None of these seem to work. It wasn't much of a problem at first, but
> I use Qt and that spits out a bunch of files I don't want to put under
> source control, but are -- unfortunately -- in the project tree.
>
> Is this a bug? If not, how do I get the effect I'm looking for? Files
> are being added to this directory every so often so I'd rather not
> have to hand-add them every time one gets added to the project.
>
> Any help (or acknowledgment if this proves to be a bug so I can stop
> banging my head on it!) much appreciated :)
>
> ..............................
> Andrew Patterson
> Software Engineer
> Avenza Systems Inc.
>
> email: andrew@avenza.com
> phone: 416.487.5116
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jun 2 18:50:51 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.