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

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

From: Geoffrey Plitt <geoff_at_gweb.org>
Date: Thu, 9 Jul 2009 01:53:25 -0700

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 .
     ? 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&dsMessageId=2369302

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