You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Szakmeister <js...@actelesys.com> on 2003/04/28 20:08:25 UTC
Problem updating working copy...
I ran into an interesting problem, which may be my fault, but I thought I'd
put it out there just in case. I created a test repository called 'test'
and a directory under it called 'a'. I checked out 'a' onto my local drive
under a directory of the same name. I then added and commited a file called
'file.txt' under this directory. Then I did an svn mv to rename the
directory from 'a' to 'b' and tried to update my working copy. It failed
with the following as the error:
svn: Filesystem has no item
svn: file not found: revision `3', path `/a'
I'm using a Windows XP machine with SVN 0.21.0 and ra_local. Here is a list
of commands I used on my D: drive in a directory called 'tmp':
md repo
svnadmin create repo/test
svn mkdir -m "" file:///d:/tmp/repo/test/a
svn co file:///d:/tmp/repo/test/a a
echo 1 > a\file.txt
svn add a/file.txt
svn ci -m "" a
svn up a
svn mv -m "" file:///d:/tmp/repo/test/a file:///d:/tmp/repo/test/b
svn up a
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem updating working copy...
Posted by Ben Collins-Sussman <su...@collab.net>.
Not really. Notice is recipe is over ra_local, not ra_dav.
But it's a similar problem: ra_local is trying to run
svn_repos_dir_delta against an update-editor anchored on 'a', and of
course the first thing dir_delta wants to do is delete that
directory. You can't delete an editor's anchor directory.
Karl Fogel <kf...@newton.ch.collab.net> writes:
> Looks like http://subversion.tigris.org/issues/show_bug.cgi?id=891,
> which is being worked on right now.
>
> -Karl
>
>
> John Szakmeister <js...@actelesys.com> writes:
> > I ran into an interesting problem, which may be my fault, but I thought I'd
> > put it out there just in case. I created a test repository called 'test'
> > and a directory under it called 'a'. I checked out 'a' onto my local drive
> > under a directory of the same name. I then added and commited a file called
> > 'file.txt' under this directory. Then I did an svn mv to rename the
> > directory from 'a' to 'b' and tried to update my working copy. It failed
> > with the following as the error:
> >
> > svn: Filesystem has no item
> > svn: file not found: revision `3', path `/a'
> >
> > I'm using a Windows XP machine with SVN 0.21.0 and ra_local. Here is a list
> > of commands I used on my D: drive in a directory called 'tmp':
> >
> > md repo
> > svnadmin create repo/test
> > svn mkdir -m "" file:///d:/tmp/repo/test/a
> > svn co file:///d:/tmp/repo/test/a a
> > echo 1 > a\file.txt
> > svn add a/file.txt
> > svn ci -m "" a
> > svn up a
> > svn mv -m "" file:///d:/tmp/repo/test/a file:///d:/tmp/repo/test/b
> > svn up a
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Problem updating working copy...
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Looks like http://subversion.tigris.org/issues/show_bug.cgi?id=891,
which is being worked on right now.
-Karl
John Szakmeister <js...@actelesys.com> writes:
> I ran into an interesting problem, which may be my fault, but I thought I'd
> put it out there just in case. I created a test repository called 'test'
> and a directory under it called 'a'. I checked out 'a' onto my local drive
> under a directory of the same name. I then added and commited a file called
> 'file.txt' under this directory. Then I did an svn mv to rename the
> directory from 'a' to 'b' and tried to update my working copy. It failed
> with the following as the error:
>
> svn: Filesystem has no item
> svn: file not found: revision `3', path `/a'
>
> I'm using a Windows XP machine with SVN 0.21.0 and ra_local. Here is a list
> of commands I used on my D: drive in a directory called 'tmp':
>
> md repo
> svnadmin create repo/test
> svn mkdir -m "" file:///d:/tmp/repo/test/a
> svn co file:///d:/tmp/repo/test/a a
> echo 1 > a\file.txt
> svn add a/file.txt
> svn ci -m "" a
> svn up a
> svn mv -m "" file:///d:/tmp/repo/test/a file:///d:/tmp/repo/test/b
> svn up a
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org