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

Re: Ignoring Directory Structures...

From: Chris Jensen <cjensen_at_edex.com.au>
Date: 2005-02-20 23:06:24 CET

> How can I prevent users from evening adding a directory structure
> without using a hook and then forcing them to revert? It would be neat
> if global-ignore supported a syntax like this - build/** to signify
> recursive ignores. That would solve the problem easily.

If you are on *nix, after putting the directories in svn:ignore, do

svn add `svn st | awk ' { print $2 } '`

This will add only the files listed by svn st, so it will exclude those
you are ignoring.

-- 
---------------------------------------------------------------------
Chris Jensen cjensen@edex.com.au
Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991
Visit our online Toy store! http://www.toysandmore.com.au/
---------------------------------------------------------------------

Received on Sun Feb 20 23:08:40 2005

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

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