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

Re: BUG - Revert changes from revision

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 07 Jan 2010 18:55:11 +0100

On 07.01.2010 10:06, Stefan Löke wrote:
> Hello,
>
> I got a problem reversing changes from a revision if the path of the
> repository includes spaces. It ends in the error “Path »<Pathname>« is
> not a directory”.
>
> *Version Info:*
>
> TortoiseSVN 1.6.6, Build 17493 - 32 Bit , 2009/10/19 20:22:18
>
> Subversion 1.6.6,
>
> apr 1.3.8
>
> apr-utils 1.3.9
>
> neon 0.28.6
>
> OpenSSL 0.9.8k 25 Mar 2009
>
> zlib 1.2.3
>
> *Action* to reconstruct*:*
>
> 1. Right click on folder
> 2. Choose “TortoiseSVN - > Show Log”
> 3. Select revision in upper list
> 4. Right click on line in lower list
> 5. Choose “Revert changes from this revision”
> 6. Confirm Question “Do you really want to revert all changes in …”
> with “Yes”
>
> My* Error Message:*
>
> * Copy
> file:///T:/Module/EXTERNE%20MODULE/Workflow%20-%20Test/repo/trunk/Integration/5.01
> to %20MODULE/Workflow%20-%20Test/repo/trunk/Integration/5.01,

That's a known problem with no workaround, sorry.

If you think about it, you will know why:
There's no way to find out which part of the file:/// url is part of the
file system and which part is inside the repository. But we have to know
that to decide which part of the url to escape (i.e., change a space to
%20) and which part not. Because a file:/// url only works if the file
system path is not escaped, but the part inside the repository must be
escaped.

So if you use file:/// to access your repository, you have to make sure
that the path to the repository doesn't contain special chars (meaning
no chars that are not allowed in an url and would have to be escaped).

There's no problem if you have such special chars in your paths *inside*
the repository though.

Another thing: from your file:/// url I gather that your repository is
on a network share. You should not do that!
See here why:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-repository.html#tsvn-repository-local-share

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2435545
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-07 18:55:21 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.