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

RE: RE: Re: Problem with filename containing spaces

From: Jaan Vajakas <jaanvajakas_at_hot.ee>
Date: Fri, 21 Nov 2008 17:45:36 +0200

I was using Bash, but that is probably unimportant. Now I tested the
bug
on a newly-created empty repository. It turned out that this bug
occurred in case of HTTP access on Apache server, but not with svnserve
or direct access using file://... URL (this time SVN 1.5.4 on Windows).

Jaan

> Since your using linux does it work if you use single quotes instead
of
> double quotes for the file names? What shell are you using?
>
> BOb
>
>
> -----Original Message-----
> From: Jaan Vajakas [mailto:jaanvajakas_at_hot.ee]
> Sent: Thursday, November 20, 2008 1:02 PM
> To: subversion-2008c_at_ryandesign.com; users_at_subversion.tigris.org
> Subject: Re: Problem with filename containing spaces
>
> OK, here is a command line script:
>
> mkdir aa
> svn import aa https://.../svn/repos/sandbox/jaanv/aa -m
> "Created aa"
> svn checkout https://.../svn/repos/sandbox/jaanv/aa
> cd aa
> mkdir uu
> echo texttexttext >"uu/New Text Document.txt"
> svn add uu
> mkdir vv
> svn add vv
> svn commit -m "Created uu, vv and New Text Document.txt"
> svn mv uu tt
> svn mv "tt/New Text Document.txt" "vv/New Text Document.txt"
> svn commit -m "Renamed uu and moved New Text Document.txt"
>
> And this is the output (this time with SVN client 1.5.0-dev on
linux):
>
> Committed revision 42416.
> Checked out revision 42416.
> A uu
> A uu/New Text Document.txt
> A vv
> Adding uu
> Adding uu/New Text Document.txt
> Adding vv
> Transmitting file data .
> Committed revision 42417.
> A tt
> D uu/New Text Document.txt
> D uu
> A vv/New Text Document.txt
> D tt/New Text Document.txt
> Adding tt
> Deleting tt/New Text Document.txt
> Deleting uu
> Adding vv/New Text Document.txt
> svn: Commit failed (details follow):
> svn: '/svn/repos/!svn/bc/42417/sandbox/jaanv/aa/uu/New' path not
found
>
> > On Nov 19, 2008, at 03:58, Jaan Vajakas wrote:
> >
> > > 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.
> >
> > Like many users on this list, I don't have an operating system that

> > TortoiseSVN can run on, so I can't really help. You should either
ask
>
> > on the TortoiseSVN Users mailing list, or else try reproducing the

> > issue using the svn command line program, and if you can, then
report
>
> > that here.
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

-----------------------------------

---------------------------------------------------------------------
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-21 17:13:33 CET

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