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

Re: in place add, with propset ignore

From: George Georgalis <george_at_galis.org>
Date: 2006-07-18 14:52:40 CEST

On Tue, Jul 18, 2006 at 11:58:54AM +1200, Gavin Lambert wrote:
>Quoth George Georgalis <mailto:george@galis.org>:
>> I have a file tree on a running system which contains some
>> sockets, devices, and directories I'd like to exclude -- it
>> will be very difficult to only add the parts that belong. At
>> first I tried to "add *" with the intent of doing an svn rm
>> before my ci, for the files that don't belong in the repo.
>>
>> But from what I can tell, that would remove my working copies
>> (very bad). Will it be possible to use propset to just not
>> add the items that fall into the ignore pattern?
>
>If you want it to pay attention to the ignore pattern, then use 'svn add
>.' instead. (The shell expands '*' to all files, which will override
>the ignores since they've been explicitly named. Which is why it'll
>include all files in the current dir and then start paying attention to
>the ignores for the subdirs.)

Thanks, that explains a lot... I noticed my ignore pattern did
not work and not everything got added. Apparently the error about
invalid file types got scrolled off the top and the add stopped
before it finished descending. Since I didn't check the exit code,
I didn't notice the error.

>Using spot-reverts as Duncan suggested works as well, of course :)

I was able to use revert nicely. Thanks!

// George

-- 
George Georgalis, systems architect, administrator <IXOYE><
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 18 14:54:17 2006

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.