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

Re: problem with Quick Start: starting over

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-02 21:52:05 CEST

On Aug 2, 2006, at 21:42, Roland Silver wrote:

> On Aug 2, 2006, at 12:06 PM, Ryan Schmidt wrote:
>
>> Read it again. You start by having the initial copy of your code
>> in /tmp/myproject and you import this into the repository. After
>> that, the directory /tmp/myproject is unimportant and you can
>> delete it. To begin working on the project that's now in the
>> repository, you need to create a working copy, using "svn
>> checkout" as the quick start explains. It's in this newly-created
>> working copy that commands like svn diff will start to work.
>
> Well, I screwed up. How do I flush it from the repository so I can
> start over?
>
> If I just try to do this again:
> svn import /tmp/myproject file:///path/to/repos/myproject -m
> "initial import"
> I get:
> svn: File already exists: filesystem '/path/to/repos/db',
> transaction '1-1', path '/myproject/trunk'

If you want to delete the repository and make a new one, you can do
that:

rm -rf /path/to/repos
svnadmin create /path/to/repos

Or, if there's other data in the repository you still want to keep,
you can just remove that one path from the repository -- note that
when you do this, the files are still there in the history of the
repository and can be easily recovered.

svn rm file:///path/to/repos/myproject/trunk -m "Removing myproject/
trunk"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 2 21:56:32 2006

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.