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

Problem with filename containing spaces

From: Jaan Vajakas <jaanvajakas_at_hot.ee>
Date: Wed, 19 Nov 2008 11:58:09 +0200

My experience with SVN is that it works well for small modifications
like adding, moving or renaming one file, but when doing extensive
refactoring, I am often confronted with some obstacles. Here is one that
I managed to reproduce, so this must be a bug in SVN or TortoiseSVN.

How to reproduce:
* Checkout a directory (let’s say directory aa) using TortoiseSVN.
* Create a subdirectory uu in the working copy aa
* Create a subdirectory vv in the working copy aa
* Create file aa\uu\New Text Document.txt
* Commit aa using TortoiseSVN (adding aa\uu, aa\vv and aa\uu\New Text
Document.txt to repository)
* Update aa using TortoiseSVN (probably this step is not necessary)
* Rename uu to tt using TortoiseSVN->Rename... in the Windows Explorer
context menu of the working copy of uu
* Open a new Windows Explorer window in the working copy directory tt
* Move file New Text Document.txt from tt to vv by holding down the
right mouse button, dragging the file New Text Document.txt from
directory tt to directory vv (in the other Windows Explorer window) and
choosing „SVN Move versioned files here“ from the context menu after
releasing the mouse button.
* Commit aa using TortoiseSVN

Expected result: commit succeeds and in the repository, the file New
Text Document.txt is moved from uu to vv and uu is renamed to tt
Actual result: commit fails with the following messages:

Command Commit
Adding workspace_geocoding\aa\tt
Deleting workspace_geocoding\aa\tt\New Text Document.txt
Deleting workspace_geocoding\aa\uu
Adding workspace_geocoding\aa\vv\New Text Document.txt
Error Commit failed (details follow):
Error '/svn/repos/!svn/bc/42268/sandbox/jaanv/aa/trunk/uu/New' path not
found
Finished!

I am using TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
on Windows XP.

Jaan Vajakas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-19 20:57:40 CET

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.