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

Re: "is missing or not locked" error executing 'svn move dir1 dir2' if dir1 contains its own directory called dir2

From: <kfogel_at_collab.net>
Date: 2005-06-24 17:43:37 CEST

Whups -- can you resend as plaintext instead of HTML, please?

See http://subversion.tigris.org/mailing-list-guidelines.html#encodings

Thanks,
-Karl

Dean Thompson <dthompson@peakstrategy.net> writes:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Wow, thanks for the quick and thorough response!&nbsp; I wish I could
> volunteer a patch, but I only started using subversion this week.&nbsp; So
> far I love it!<br>
> <br>
> Dean<br>
> <br>
> <a class="moz-txt-link-abbreviated" href="mailto:kfogel@collab.net">kfogel@collab.net</a> wrote:
> <blockquote cite="mid85is04x30j.fsf@newton.ch.collab.net" type="cite">
> <pre wrap="">Dean Thompson <a class="moz-txt-link-rfc2396E" href="mailto:dthompson@peakstrategy.net">&lt;dthompson@peakstrategy.net&gt;</a> writes:
> </pre>
> <blockquote type="cite">
> <pre wrap="">I am fairly certain I have discovered a simple but severe subversion
> bug. Here is the script of my actions:
>
> bash-2.05b$ mkdir tmp
> bash-2.05b$ cd tmp
> bash-2.05b$ mkdir svntest
> bash-2.05b$ svn import
> . <a class="moz-txt-link-abbreviated" href="mailto:svn+ssh://dthompso@cvs.peakstrategy.net/usr/local/svn">svn+ssh://dthompso@cvs.peakstrategy.net/usr/local/svn</a>
> -m "test"
> Adding svntest
>
> Committed revision 21.
> bash-2.05b$ rm -rf svntest
> bash-2.05b$ svn co
> <a class="moz-txt-link-abbreviated" href="mailto:svn+ssh://dthompso@cvs.peakstrategy.net/usr/local/svn/svntes">svn+ssh://dthompso@cvs.peakstrategy.net/usr/local/svn/svntes</a>
> t
> Checked out revision 21.
> bash-2.05b$ ls
> svntest
> bash-2.05b$ cd svntest
> bash-2.05b$ mkdir a
> bash-2.05b$ mkdir a/b
> bash-2.05b$ svn add a
> A a
> A a/b
> bash-2.05b$ svn commit -m "test"
> Adding a
> Adding a/b
>
> Committed revision 22.
> bash-2.05b$ svn move a b
> svn: Working copy 'b/b' is missing or not locked
> bash-2.05b$
> </pre>
> </blockquote>
> <pre wrap=""><!---->
> Yup, this is a bug. I've got a more compact reproduction recipe,
> based on yours, and I've filed this as
>
> <a class="moz-txt-link-freetext" href="http://subversion.tigris.org/issues/show_bug.cgi?id=2343">http://subversion.tigris.org/issues/show_bug.cgi?id=2343</a>
>
> Here's the recipe:
>
> #!/bin/sh
>
> SVN=${HOME}/src/subversion/subversion/clients/cmdline/svn
> SVNADMIN=${HOME}/src/subversion/subversion/svnadmin/svnadmin
>
> URL=<a class="moz-txt-link-freetext" href="file:///">file:///</a>`pwd`/repos
>
> rm -rf repos svntest
>
> ${SVNADMIN} create repos
>
> mkdir svntest
> ${SVN} import svntest ${URL}/svntest -m "test"
> rm -rf svntest
> ${SVN} co ${URL}/svntest
> cd svntest
> mkdir a
> mkdir a/b
> ${SVN} add a
> ${SVN} commit -m "test"
> # Even if you insert 'svn up' here, the following move command still
> # results in this error:
> #
> # subversion/libsvn_wc/lock.c:677: (apr_err=155005)
> # svn: Working copy 'b/b' is missing or not locked
> ${SVN} move a b
>
> Thanks for the report! We'll fix it as soon as we can; obviously, if
> you have time/ability to write a patch for it, that would be great.
>
> -Karl
>
>
>
> </pre>
> </blockquote>
> </body>
> </html>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 24 18:33:16 2005

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.