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

Re: Reverting a file in a revision fails (all TSVN versions)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-07-13 19:36:03 CEST

Lieven Govaerts wrote:

> some of my colleagues found this problem with TortoiseSVN 1.2.3 while reverting
> a file (part of a revision).
>
> The problem:
>
> 1. create trunk
> 2. add a folder with some files in, and commit
> 3. make some changes on those files on trunk (rev 3-6)
> 4. create a branch 1.x from trunk
> 5. checkout that branch 1.x in folder c:\temp\1.x
> 6. from the local folder, select show log
> 7. find revision 3, click on one of the files you changed in that revision, and
> select 'Revert changes from this revision'.
>
> TortoiseSVN will show you the folder to which it's going to revert your changes,
> what I typically see is that that folder is incorrect. It appears that some
> characters are missing, ex. : c:\temp.x\test.
>
> If my report isn't clear, please let me know.

Report is very clear and reproducible.
Problem is: TSVN can't reconstruct such a renamed path. That means it
can't find the path to the working copy file which is needed for
reverting the changes.
I added an explanation error message in revision 7021, which also hints
about how to work around this issue.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jul 13 19:36:17 2006

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

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