If it is in Multibyte, you can not display logs, get differences, export etc

107 views
Skip to first unread message

Takeru Yamagcuhi

unread,
May 14, 2018, 12:23:30 AM5/14/18
to TortoiseSVN
TortoiseSVN 1.9.5, Build 27581 - 64 Bit , 2016/11/26 09:18:58

<Repository tree>
漢字リポジトリ
 ├ branches
 ├ tags
 └ trunk
   ├ Test1.vb
   ├ 00.共通
   │  └ Test2.vb
   └ Dir1
     └ Dir2
       └ Dir3
         └ 00.共通
            └ Test3.vb

Test1.vb can see the log.
Attempting to display the log of Test2.vb and Test3.vb will result in an error.


Error Message:
Unable to connect to a repository at URL
URL Path/Test.vb

How can I solve this?
I attached a repository to reproduce.
Repository.zip

J.S.

unread,
May 14, 2018, 7:55:13 AM5/14/18
to TortoiseSVN on behalf of Takeru Yamagcuhi

Hi, I think it’s the same problem like described here: https://groups.google.com/forum/#!topic/tortoisesvn/OtwunmHncNE

Also look there for a workaround.

 

Cheers Jörk S.

 

 

--
Spörk Antriebssysteme GmbH, Kottingbrunn, FN 274532z, LG WN
Message has been deleted
Message has been deleted

Takeru Yamaguchi

unread,
May 15, 2018, 3:34:21 AM5/15/18
to TortoiseSVN
Well, do you mean you should not use multibyte characters?
Even if you refer to the log from the parent directory, you can not compare or export the target directory or file.


2018年5月14日月曜日 20時55分13秒 UTC+9 J.S.:

J.S.

unread,
May 15, 2018, 5:47:17 AM5/15/18
to TortoiseSVN on behalf of Takeru Yamaguchi
> Well, do you mean you should not use multibyte characters?
> Even if you refer to the log from the parent directory, you can not compare or export the target directory or file.

No, that’s maybe what Stefan said.
But in my opinion everything that works on the command line should also work with a GUI like TortoiseSVN.

I do not know why this bug is ignored …

Cheers Jörk S.

PS: With v1.10 and your repository everything works fine for me except log viewing.

pegacorn jp

unread,
May 15, 2018, 10:03:21 AM5/15/18
to TortoiseSVN
このバグは、1年半以上放置されています。

 Subject: Re: Log message problem on 1.9.5
 Date: Sun, 11 Dec 2016 00:05:10 +0900 (JST)
 https://groups.google.com/d/msg/tortoisesvn/ysNV9QymMy0/yIfq8kn9CQAJ
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 以下の条件を満たすと問題が起きるようです。
>
> ・リポジトリ名にパーセントエスケープが必要な文字を含んでいる
>  かつ
> ・管理するディレクトリ/ファイルの名前に非ASCII文字を含んでいる
>
> 例:
>   ok file:///D:/tmp/test repo/Hello world/Hello world.txt
>   NG file:///D:/tmp/test repo/Hello world/こんにちは.txt
>   NG file:///D:/tmp/test repo/こんにちは世界/Hello.txt

根本的にURLの処理に問題があるようで今更修正が難しいようですし、
国(言語)によっては重要ではないのかもしれません。

 Subject: Re: Log message problem on 1.9.5
 Date: Thu, 05 Jan 2017 00:02:59 +0900 (JST)
 https://groups.google.com/d/msg/tortoisesvn/ysNV9QymMy0/4aN0uuRlEgAJ
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> このようなエスケープ状態の事なるURLコンポーネントを結合している個所が他にもあります。
> つまり、根本的な原因はTortoiseSVNがURLのパーセントエスケープの状態を管理できていない事のようです。
> 修正を試みましたが、影響が広範囲に渡っている事や、エスケープ状態の説明がAPIの説明に書かれていない等の理由で、私には簡単には治せそうにありませんでした。


2018年5月15日火曜日 16時34分21秒 UTC+9 Takeru Yamaguchi:

Takeru Yamaguchi

unread,
May 15, 2018, 11:58:24 AM5/15/18
to TortoiseSVN
利用の関係上、リポジトリ名そのものが日本語であったり、その配下の
ディレクトリやファイル名が日本語であったりということが往々にしてあって、
正直利用に耐えられなくなってきたため、すがる思いでしたが、やはり
ダメなんですね・・・。

ありがとうございました。

2018年5月15日火曜日 23時03分21秒 UTC+9 pegacorn jp:

Takeru Yamaguchi

unread,
May 15, 2018, 12:01:56 PM5/15/18
to TortoiseSVN
Thank you very much.
Since it is inevitable that this will never be solved,
I am going to try SmartSVN now.

2018年5月15日火曜日 18時47分17秒 UTC+9 J.S.:

Stefan

unread,
May 15, 2018, 3:21:48 PM5/15/18
to TortoiseSVN
I can fix showing the log from e.g. the repo browser.
But I can not fix showing the log from a WC: even the svn command line client there throws an error.

Stefan

pegacorn jp

unread,
Jun 1, 2018, 7:56:03 AM6/1/18
to TortoiseSVN
2018年5月16日水曜日 4時21分48秒 UTC+9 Stefan:
But I can not fix showing the log from a WC: even the svn command line client there throws an error.
 
 
What command causes an error?
It seems that it works normally as far as I've tried.
 
D:\tmp\test-svn>svn --version
svn, version 1.9.5 (r1770682)
   compiled Dec 25 2016, 13:12:19 on x86-microsoft-windows
(snip)
 
D:\tmp\test-svn>chcp
現在のコード ページ: 932
 
D:\tmp\test-svn>svn co file:///D:/tmp/test-svn/漢字リポジトリ wc-svn1.9.5
A    wc-svn1.9.5\ProjectA
A    wc-svn1.9.5\ProjectA\branches
A    wc-svn1.9.5\ProjectA\tags
A    wc-svn1.9.5\ProjectA\trunk
A    wc-svn1.9.5\ProjectA\trunk\00.共通
A    wc-svn1.9.5\ProjectA\trunk\00.共通\Test2.vb
A    wc-svn1.9.5\ProjectA\trunk\Dir1
A    wc-svn1.9.5\ProjectA\trunk\Dir1\Dir2
A    wc-svn1.9.5\ProjectA\trunk\Dir1\Dir2\Dir3
A    wc-svn1.9.5\ProjectA\trunk\Dir1\Dir2\Dir3\00.共通
A    wc-svn1.9.5\ProjectA\trunk\Dir1\Dir2\Dir3\00.共通\Test3.vb
A    wc-svn1.9.5\ProjectA\trunk\Test1.vb
Checked out revision 1.
 
D:\tmp\test-svn>cd wc-svn1.9.5
 
D:\tmp\test-svn\wc-svn1.9.5>svn log ProjectA\trunk\00.共通\Test2.vb
------------------------------------------------------------------------
r1 | yamaguti | 2018-05-14 13:28:24 +0900 (月, 14 5 2018) | 1 line
------------------------------------------------------------------------
 
D:\tmp\test-svn\wc-svn1.9.5>svn log ProjectA\trunk\Dir1\Dir2\Dir3\00.共通\Test3.vb
------------------------------------------------------------------------
r1 | yamaguti | 2018-05-14 13:28:24 +0900 (月, 14 5 2018) | 1 line
------------------------------------------------------------------------
 
The same result with svn 1.10.0.
 
 
Reply all
Reply to author
Forward
0 new messages