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

Re: inverse of svn:ignore property

From: Marcus Rueckert <darix_at_web.de>
Date: 2006-01-06 01:38:46 CET

On 2006-01-06 10:36:51 +1100, Chris Holland wrote:
> Another item for the svn wishlist, unless someone can suggest another way
> of doing this.
>
> I have a situation where we want to only version control files with
> specific extensions and ignore all others. The ignore list would be very
> long and would continually have to be updated as new file extensions
> appeared that we don't want version controlled.
>
> So what I'd like is an opposite to the svn:ignore property or something
> like that which specifies only the patterns to version control instead of
> the patterns not to version control.
> Another way to handle this may be to make the ignore property handle egrep
> expressions like *^(cat|dog) , which would ignore anything except cat and
> dog files.
>
> If there is already a way to do this that I've missed please let me know.

"svn ps svn:ignore '*' ."
and you only run svn add on file you want to add.

hope this helps

    darix

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 6 01:56:14 2006

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

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