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

Re: How to start over?

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Mon, 21 Dec 2009 19:21:08 -0600

On Dec 21, 2009, at 18:16, Leslie Turriff wrote:

> So I run svnadmin create, and it seems to have worked, but when
> I try to add entities to the repository I get these messages:
>
> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory

> turriff_at_pinto$ #My working directory; what I want to add to svn:
> #My working directory; what I want to add to svn:
> turriff_at_pinto$ tree -d ~/Documents/SourceCode/OpenPipelines
> /home/turriff/Documents/SourceCode/OpenPipelines
> |-- client
> | |-- branch
> | |-- tag
> | `-- trunk
> `-- daemon
> |-- branch
> |-- tag
> `-- trunk

Sounds like you haven't created a working copy yet. There are two ways to do this. One is to "svn import" your tree into Subversion, move aside or delete the tree, and then check it out from the repository again with "svn checkout"; or the IMHO more intuitive "in-place" import method described in the FAQ:

http://subversion.tigris.org/faq.html#in-place-import

> I'm guessing that I set up something in the wrong order or
> something. If I want to start over, how do I get rid of the current,
> empty repository?

I don't believe you need to in this instance, but if you do want to delete a repository, or a working copy, you simply delete it using your usual OS methods, and it will be gone.
Received on 2009-12-22 02:21:51 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.