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

Re: Ignoring files and directory

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-12 20:51:46 CET

On Jan 12, 2007, at 13:07, Jeff Smith wrote:

> On Friday 12 January 2007 10:00, Jeff Smith wrote:
>
>> It sounds like you need to
>> svn update foo
>
> I guess I'm also talking on a different level than Ryan. I had
> perceived that you actually want to ignore 'bar', not only certain
> objects within 'bar'. Since you have already removed 'bar' from the
> repos, that supports my perception, so this is how you ignore 'bar'
> in the example:
> ==
> svn checkout $REPO/foo
> cd foo
> svn propset svn:ignore bar
> ==
>
> It is setting the property in /foo to say ignore 'bar' in there. Any
> contained files (foo/bar/*) are inherently ignored also.

Don't forget to tell it on which object you want to set that
property. From svn help propset:

        usage: 1. propset PROPNAME PROPVAL PATH

So you need:

        svn propset svn:ignore bar .

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 12 20:52:30 2007

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.