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

Re: [Issue 1532] Switch a file to a dir: can't switch it back to the file

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-10-09 03:31:17 CEST

C. Michael Pilato wrote:
> Julian Foad <julianfoad@btopenworld.com> writes:
>
>>cmpilato@tigris.org wrote:
>>
>>>http://subversion.tigris.org/issues/show_bug.cgi?id=1532
>>>Moving into 0.32, and assigning to myself.
>>
>>Good to hear. If you fix it, don't forget the regression test that
>>I attached to the issue, though of course you're welcome to write a
>>better one if you like.
>
> Actually, I have a feeling this is gonna get tossed into Post-1.0. I
> understand what's going on now, and I just don't know if I have the
> energy to fix it. If I understand it correctly, this is pretty
> edge-case-y (you must be switching an already-switched directory to a
> file), and has a workaround that applies in most cases (if the goal is
> to unswitch a file->dir switch, then just "unswitch" the parent of the
> dir).

Unfortunately I cannot recover from it so I consider it a little more serious. If I try to un-switch the parent (this example is after running the repro script):

~/tmp/svn-switch-test/wc> svn switch file:///home/julianfoad/tmp/svn-switch-test/repos/ .
/home/julianfoad/src/subversion/subversion/libsvn_fs/tree.c:454: (apr_err=160013)
svn: Filesystem has no item
svn: file not found: revision '1', path '/d/f'

If I try to update, or anything else I can think of, I get similar errors. Can you recover from it?

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 9 03:30:52 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.