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

Re: Annoying subversion behavior

From: Grant Rettke <grettke_at_acm.org>
Date: 2006-09-16 16:12:53 CEST

That is what I would try.

Quoting Justin Patrin <papercrane@gmail.com>:

> On 9/15/06, Thomas Harold <tgh@tgharold.com> wrote:
>> This is what I call a "wedged" subversion because it can't find it's way
>> out of a paper bag to give me a good error message. (I know what I did
>> wrong, but SVN doesn't tell me how to fix it.)
>>
>> 1. Create a URL, checkout revision zero to /
>> 2. Add the /boot directory to SVN, but don't "ci"
>> 3. Wipe out the contents of /boot, including the .svn by accident
>> 4. Now I'm stuck
>>
>> # svn status boot
>> svn: Working copy 'boot' is missing or not locked
>>
>> # svn status
>> ! .
>> ~ boot
>>
>> / # cd boot
>> boot # svn status
>> svn: '.' is not a working copy
>>
>> boot # svn co file:///var/svn/fw1/boot .
>> svn: URL 'file:///var/svn/fw1/boot' doesn't exist
>>
>> boot # cd /
>> / # svn add /boot
>> svn: warning: '/boot' is already under version control
>> / #
>>
>> And around and around we go... the .svn folder in / thinks that /boot is
>> under version control, but there's no .svn folder in /boot. It's all
>> user-error, but SVN doesn't provide an easy and obvious way to recover
>> from it. (Such as a "svn get-new-pristine-copy from repository" command
>> which would re-create the .svn folder without touching existing files.)
>>
>
> # cd /
> # svn revert boot
>
> --
> Justin Patrin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 16 16:13:22 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.