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

Re: switching between "non-checkout subdir status" to "checked-out subdir" and back

From: Stephen Butler <sbutler_at_elego.de>
Date: Mon, 03 Aug 2009 11:13:15 +0200

Quoting Victoria Muntean <vikimun_at_gmail.com>:

> After "flat" checkout, subdirectories are in special status. In this status,
> "svn up ." in the parent dir does not pull them from the server. (I
> call it "ghosted status", don't know the official name).

By "flat" checkout, I assume you mean "svn checkout --depth immediates".

See the SVN Book for reference.

   http://svnbook.red-bean.com/nightly/en/svn.advanced.sparsedirs.html

> This status is different from state when I do "rm -rf SUBDIR". After
> "rm -rf SUBDIR", "svn up ." will pull the subdir from the server.
> When subdir is in "ghosted status", "svn up ." does not pull subdir
> from the server.
>
> My question is, how do I turn subdirectory into "ghosted status" after
> full(deep) checkout.
> I want to turn subdir into "ghosted status", delete it from disk, so
> that subsequent "svn up" will not pull it anymore.

This will come pretty close: update the subdirectory with the option
"--set-depth empty".

Regards,
Steve

-- 
Stephen Butler | Software Developer
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2379466
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-03 11:14:06 CEST

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.