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

Re: Some problems with "Revert changes from this revision"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-25 19:42:43 CEST

Kazutoshi Satoda wrote:
> I found some problems with "Revert changes from this revision" for
> changed paths in LogDlg. I'm using TortoiseSVN 1.4.0 r7501.
>
> * A "delete" action can't be reverted.
> This seems to be introduced by r7021. Absence of a deleted file can
> occur normally. Then it shouldn't be an error.

Since you can't merge to a non-existing target, we introduced the error
message.

> * If the target of a LogDlg has non-ascii characters in its URL, any
> action can't be reverted.
> This is more complicated. Non-ascii characters in changed paths doesn't
> cause this problem. The target which is selected to launch LogDlg is the
> root of this problem. I currently suspects GetURLFromPath().
> Because I think SVN::get_url_from_target() returns a UTF-8 URL, the
> return value "CString(URL)" in GetURLFromPath() seems to cause wrong
> (system default encoding to Unicode) conversion instead of UTF-8 to
> Unicode conversion. But if it is wrong, many use of GetURLFromPath()
> should cause similer problems.

Fixed in revision 7850.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Oct 25 19:42:56 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.