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

Re: Problem pruning dir from sparse directory tree

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Wed, 06 Feb 2008 13:53:01 -0500

John Mylius <mylius_at_pasemi.com> writes:
> I've been trying out the sparse directory support with svn built from
> the latest source code. I've been struggling with how best to prune a
> sub directory once it's been updated. Ex:
>
> # checkout dir, update subdir and then remove subdir from working copy
> $ svn checkout --depth empty URL ./agents
> $ svn update agents/ckd
> $ rm -rf agents/ckd
>
> # check status. The item is listed as missing.
> $ svn status agents
> ! agents/ckd
>
> I was hoping it would be in the same state as before I updated the
> subdir, but that is not the case. The missing status will then trip up
> future commands such as svn commit. How can I prune the subdir so that
> it doesn't show up as missing.

Removing a subdirectory manually like this is just going to make
Subversion think it's unexpectedly missing, yeah. We haven't
implemented a command to prune sparse directories yet, on purpose.
See

   http://subversion.tigris.org/issues/show_bug.cgi?id=2843

...which suggests some workarounds.

[By the way, your question probably should have gone to users@. No
big deal, just pointing it out for next time.]

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-06 19:53:14 CET

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

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