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

switch --relocate fails on deleted dir in mixed-rev WC [was: Possible bug]

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-10-11 23:45:46 CEST

Richard Brady wrote:
>
> I'd like to highlight a problem I think may be a bug. I have followed
> your instuctions on reporting bugs.I discussed it in the IRC channel
> with darix and offby1, who agreed the best idea was a mail to this list.

Thanks. I've given it a descriptive subject line (about 1000 emails a month on
this list are discussing possible bugs :-)

> To reproduce, run:
>
> #!/bin/sh
> svnadmin create repo;
> svn mkdir file://`pwd`/repo/a -m "";
> svn co file://`pwd`/repo wc;
> svn delete wc/a -m "";

(I don't think this is your actual reproduction recipe because "svn delete"
doesn't accept a log message. But, if we change that to "svn delete wc/a"...)

> svn ci wc -m "";
> svn switch --relocate file://`pwd`/repo file://`pwd`/repo wc;

I confirm it fails on trunk here, with this message:

   /home/julianfoad/src/subversion/subversion/libsvn_wc/lock.c:678:
(apr_err=155005)
   svn: Working copy 'wc/a' is missing or not locked

Thanks for the report (which was quite well written, despite my jibes).

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 11 23:47:08 2005

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.