[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: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-07-18 01:58:54 CEST

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.)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 18 02:00:10 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.