You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Richard S. Hall" <he...@ungoverned.org> on 2004/08/05 08:19:26 UTC
Opposite of svn:ignore
I have a directory in my project structure that is used mostly for
externally developed components in separate sub-directories, none of
which are versioned by me, except for one "example" component. So
essentially, I want to ignore everything but my one example component
directory.
Obviously, one way to achieve this is to add an svn:ignore property to
the directory that contains all other component directories except my
one example component directory. This would mean that I would have to
edit the svn:ignore property each time I get a new component from
someone else. This is workable, but not great.
Is there some approach for saying "ignore everything but foo" ?
Thanks in advance.
-> richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Opposite of svn:ignore
Posted by François Beausoleil <fb...@ftml.net>.
Hello Richard !
Richard S. Hall wrote:
> I have a directory in my project structure that is used mostly for
> externally developed components in separate sub-directories, none of
> which are versioned by me, except for one "example" component. So
> essentially, I want to ignore everything but my one example component
> directory.
>
> Obviously, one way to achieve this is to add an svn:ignore property to
> the directory that contains all other component directories except my
> one example component directory. This would mean that I would have to
> edit the svn:ignore property each time I get a new component from
> someone else. This is workable, but not great.
>
> Is there some approach for saying "ignore everything but foo" ?
No, but set svn:ignore to '*'. This will ignore everything, except
anything that's already under version control.
Also, since svn:ignore is not recursive, anything in your example folder
will be correctly flagged as unversionned, missing, etc.
Bye !
François
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org