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

[BUG] bug in svn rename

From: Mark Parker <mark_at_msdhub.com>
Date: 2006-02-13 20:00:48 CET

The command-line client crashes when I attempt to force it to rename a
file that isn't under version control. It's reproducible for me on
Windows XP, using version 1.3.0 of the binary. I don't get the bug if I
try the command in a directory that isn't a working copy. Below is a
transcript:

mark@kilroy D:\1
$ svnadmin create repo

mark@kilroy D:\1
$ svn co file:///d:/1/repo wc
Checked out revision 0.

mark@kilroy D:\1
$ cd wc

mark@kilroy D:\1\wc
$ touch file1.txt

mark@kilroy D:\1\wc
$ svn rename file1.txt file2.txt --force

<---- here I get a big crash dialog, offering to send details to Microsoft.

mark@kilroy D:\1\wc
$ svn stat
? file1.txt
   L .

mark@kilroy D:\1\wc
$ svn rename file1.txt file2.txt
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

mark@kilroy D:\1\wc
$ svn cleanup

mark@kilroy D:\1\wc
$ svn rename file1.txt file2.txt
svn: Use --force to override this restriction
svn: Move will not be attempted unless forced
svn: 'file1.txt' is not under version control

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 13 20:04:07 2006

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.