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

Renaming only case on Windows

From: Daniel Schlyder <daniel_at_dascdev.net>
Date: 2003-08-31 01:08:37 CEST

Hi list,

I'm a new user of Subversion (and RCS altogether -- what a great productivity
booster!). I'm trying to rename a file in a working copy on Windows XP:

Try #1:

$ svn mv foo Foo

Fails with error:
svn: Trying to use an unsupported feature
svn: cannot move path 'foo' into itself

Try #2:

$ svn mv foo temp
$ svn mv temp Foo --force

Fails with error:
svn: Trying to use an unsupported feature
svn: Cannot copy or move 'temp' -- it's not in the repository yet,
perhaps because it is a copy or is inside a copied tree.
Try committing first.

Try #3:

$ svn mv file:///repos/trunk/foo file:///repos/trunk/Foo -m "Renamed file."
$ svn up

Fails with error:
svn: Obstructed update
svn: failed to add file 'Foo': object of the same name already exists

Try #4:

$ svn mv file:///repos/trunk/foo file:///repos/trunk/Foo -m "Renamed file."
$ cd ..
$ rm -r working-copy
$ svn co file:///repos/trunk working-copy
$ cd working-copy

Succeeds! But is hardly a nice way to do this. Is it the only way on Windows?

TIA,
Daniel Schlyder

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 31 01:10:21 2003

This is an archived mail posted to the Subversion Users mailing list.