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

Re: Restore repository from working copy

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 08 Dec 2008 14:01:00 -0600

Hyrum K. Wright wrote:
>
>> However the working copy is full of .svn directories etc, and I was
>> wondering if there is any way to import it without causing confusion.
>>
>> As it is (now) the only copy, I am reluctant to do a rm -r sweep
>> through it to try to remove all the .svn directories, in case I
>> accidentally get everything.
>>
>> Is there any alternatives for importing checked out copy. I have been
>> through the book and the faq's, and looking the archive with little
>> success, but I'm not sure that I haven't missed a key word.
>>
>> Any help would be really appreciated.
>
> I think you're looking for 'svn export', which will strip the .svn directories
> from the source and put a copy of the contents in another locations.
>

rsync with the -C option is yet another way to copy a workspace omitting
the metadata. Unlike svn export, it will take files that weren't under
version control, though.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981276
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 21:02:12 CET

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.