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

Possible bug

From: Richard Brady <brady_at_dsp.sun.ac.za>
Date: 2005-10-11 22:40:53 CEST

Hi Folks

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.
I also pasted a reproduction recipe at
http://paste.lisp.org/display/12443 which I repeat below.

The bug is that a
        svn switch --relocate FROM TO [PATH...]
command fails if a
        svn rm
followed by a
        svn ci
has been done with no
        svn up
on some directory in the wc.

To reproduce, run:

svnadmin create repo;
svn mkdir file://`pwd`/repo/a -m "";
svn co file://`pwd`/repo wc;
svn delete wc/a -m "";
svn ci wc -m "";
svn switch --relocate file://`pwd`/repo file://`pwd`/repo wc;

Note that runnings svn up wc before the switch command will prevent the
error. Also, if svn ci is not run, ie: only svn rm (no ci, no up), then
it also works.

Also, this problem does not exist with files being deleted, only
direcotries (because deleting a dir is handled differently by svn rm as
deleting a file).

The problem is that we did a repo migration (successfully), but when it
came time to switch everyone's working copies, one developer was unable to.

Other details:
OS: Debian Linux
Platform: x86
svn version: 1.2.3 (r15833)
        and: 1.1.4 (r13838)
FS type: fsfs

Richard Brady

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 11 22:41:45 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.