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

Re: "svn update --set-depth infinity" to repopulate a sparse folder, without redownloading contents since i already have them.

From: Jan Hendrik <list.jan.hendrik_at_gmail.com>
Date: Thu, 9 Jul 2009 11:24:25 +0200

Concerning "svn update --set-depth infinity" t
Geoffrey Plitt wrote on 9 Jul 2009, 1:53, at least in part:

> Let's say I have a large WC (5 GB of contents), with root folder
> "Parent", that contains nothing except 1 folder, "Child" with 5GB of
> contents.
>
> While moving to a new laptop and doing backups, Parent and Child got
> separated (and Parent was deleted), but I still have the important
> part-- Child. Should be easy to restore the structure, without doing a
> full checkout (which will take several hours)....
>
> 1) mkdir Parent # not a working copy yet.
> 2) cd Parent
> 3) svn co --depth Empty $REPO_URL .

Would not --depth immediate do the trick?

JH

> ? Child
> 4) mv /backup/Child .
> 5) svn update --set-depth infinity .
> svn: Failed to add directory 'Child': a versioned directory of the
> same name already exists
>
> I want the system to just modify the administrative-folders to have
> normal depth. I don't really want to update and redownload everything.
> Is there an easy way to do this?
>
> Thanks--
> -g
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessag
> eId=2369302
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_subversion.tigris.org].

---------------------------------------
Freedom quote:

     I would rather be exposed to the inconveniences
     attending too much liberty than to those attending
     too small a degree of it.
               -- Thomas Jefferson to Archibald Stuart, 1791

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2369320

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-09 11:26:18 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.