Found a bug for show log operation.

17 views
Skip to first unread message

James Wang

unread,
Jul 28, 2017, 5:10:13 AM7/28/17
to us...@tortoisesvn.tigris.org
I use TSVN 1.9.6, the repo URL is
https://192.168.1.4/svn/研发中心/
it escape as
https://192.168.1.4/svn/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%83/

but the sub folder https://192.168.1.4/svn/研发中心/产品线/ escaped as https://192.168.1.4/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF

so, svn show log not working properly.

TSVN 1.8.x working properly.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3274594

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Stefan Küng

unread,
Jul 28, 2017, 4:33:28 PM7/28/17
to us...@tortoisesvn.tigris.org
On 28.07.2017 09:23, James Wang wrote:
> I use TSVN 1.9.6, the repo URL is
> https://192.168.1.4/svn/研发中心/
> it escape as
> https://192.168.1.4/svn/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%83/
>
> but the sub folder https://192.168.1.4/svn/研发中心/产品线/ escaped as https://192.168.1.4/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF
>
> so, svn show log not working properly.

How are you starting the log dialog and from where?

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=3274980

James Wang

unread,
Jul 30, 2017, 2:30:39 AM7/30/17
to us...@tortoisesvn.tigris.org
> On 28.07.2017 09:23, James Wang wrote:
> > I use TSVN 1.9.6, the repo URL is
> > https://192.168.1.4/svn/研发中心/
> > it escape as
> > https://192.168.1.4/svn/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%83/
> >
> > but the sub folder https://192.168.1.4/svn/研发中心/产品线/ escaped as https://192.168.1.4/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF
> >
> > so, svn show log not working properly.
>
> How are you starting the log dialog and from where?
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net

1. In explorer, right click folder and select "Repo Browser",Every folder can be viewed. I click root folder(/svn/研发中心) and select "Show History",it worked, but sub folder(/svn/研发中心/产品线) not work.

2. Right click sub folder from explorer to display the "Properties" dialog, the url of repo is incorrect, please look "properties-diff.png".
actual repo URL is:
http://192.168.50.132/svn/研发中心/产品线/智能产品线
http://192.168.50.132/svn/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%83/%E4%BA%A7%E5%93%81%E7%BA%BF/%E6%99%BA%E8%83%BD%E4%BA%A7%E5%93%81%E7%BA%BF
but in v1.9.6, it shown as:
http://192.168.50.132/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF/%E6%99%BA%E8%83%BD%E4%BA%A7%E5%93%81%E7%BA%BF


3. I use Visual Studio 2017 to debug the TortoiseProc from tag version-1.9.6, use argv "/command:log /path:"c:\tmp\研发中心1\产品线\智能产品线" ", it's not work and display "Want to go offline?".

4. Select "SVN Show log" from folder, it's not work and display "Want to go offline?"

I use Wireshark to catpure netowrk data:
svn-client-1812-succeed.pcapng: use downloaded TSVN 1.8.12 x64 client to display log.
svn-client-196-debug-bad-request.pcapng: use source code from tag version-1.9.6 to display log.
svn-client-196-installed-bad-request.pcapng: use downloaded TSVN 1.9.6 x64 client to display log.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3276217
properties-diff.png
svn-client-1812-succeed.pcapng
svn-client-196-debug-bad-request.pcapng
svn-client-196-installed-bad-request.pcapng

Stefan Küng

unread,
Jul 31, 2017, 2:43:51 AM7/31/17
to us...@tortoisesvn.tigris.org
On 30.07.2017 08:31, James Wang wrote:
> 1. In explorer, right click folder and select "Repo Browser",Every folder can be viewed. I click root folder(/svn/研发中心) and select "Show History",it worked, but sub folder(/svn/研发中心/产品线) not work.
>
> 2. Right click sub folder from explorer to display the "Properties" dialog, the url of repo is incorrect, please look "properties-diff.png".
> actual repo URL is:
> http://192.168.50.132/svn/研发中心/产品线/智能产品线
> http://192.168.50.132/svn/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%83/%E4%BA%A7%E5%93%81%E7%BA%BF/%E6%99%BA%E8%83%BD%E4%BA%A7%E5%93%81%E7%BA%BF
> but in v1.9.6, it shown as:
> http://192.168.50.132/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF/%E6%99%BA%E8%83%BD%E4%BA%A7%E5%93%81%E7%BA%BF

I tried to reproduce this, so I created a test repo and added the
folders. Since I can't read your foldernames, I just copied them from
your post. This is what I got:
https://surface-pro-3/svn/test/trunk/研发中心1/产品线/智能产品线
https://surface-pro-3/svn/test/trunk/%E7%A0%94%E5%8F%91%E4%B8%AD%E5%BF%831/%E4%BA%A7%E5%93%81%E7%BA%BF/%E6%99%BA%E8%83%BD%E4%BA%A7%E5%93%81%E7%BA%BF

So it seems correct to me.
Also, both repo browser and "Show log" works fine for me. "Show log"
works when started from the working copy or from the repo browser.


> 3. I use Visual Studio 2017 to debug the TortoiseProc from tag version-1.9.6, use argv "/command:log /path:"c:\tmp\研发中心1\产品线\智能产品线" ", it's not work and display "Want to go offline?".
>
> 4. Select "SVN Show log" from folder, it's not work and display "Want to go offline?"
>
> I use Wireshark to catpure netowrk data:
> svn-client-1812-succeed.pcapng: use downloaded TSVN 1.8.12 x64 client to display log.
> svn-client-196-debug-bad-request.pcapng: use source code from tag version-1.9.6 to display log.
> svn-client-196-installed-bad-request.pcapng: use downloaded TSVN 1.9.6 x64 client to display log.

If you can use VS2017, you can get a lot more debug output messages if
you go to the settings dialog->Advanced and then set the
DebugOutputString to "true".

What version of svn is running on your repo server? Maybe an update for
that is required as well?

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=3277130

pegacorn

unread,
Jul 31, 2017, 9:54:54 AM7/31/17
to us...@tortoisesvn.tigris.org
From: James Wang <tops...@gmail.com>
Date: Fri, 28 Jul 2017 00:23:28 -0700 (PDT)
Message-Id: <1407538413.41538.1501226608043.JavaMail.httpd@localhost>
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

> but the sub folder https://192.168.1.4/svn/研发中心/产品线/ escaped as https://192.168.1.4/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF
>
> so, svn show log not working properly.

I think it is the same as the following problem.

Re: Log message problem on 1.9.5
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3196699


--
pegacorn

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3277367

James Wang

unread,
Aug 7, 2017, 1:53:17 AM8/7/17
to us...@tortoisesvn.tigris.org
> From: James Wang <topskill at gmail dot com>
> Date: Fri, 28 Jul 2017 00:23:28 -0700 (PDT)
> Message-Id: <1407538413.41538.1501226608043.JavaMail.httpd@localhost>
> /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > but the sub folder https://192.168.1.4/svn/研发中心/产品线/ escaped as https://192.168.1.4/svn/%25E7%25A0%2594%25E5%258F%2591%25E4%25B8%25AD%25E5%25BF%2583/%E4%BA%A7%E5%93%81%E7%BA%BF
> >
> > so, svn show log not working properly.
>
> I think it is the same as the following problem.
>
> Re: Log message problem on 1.9.5
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3196699
>
>
> --
> pegacorn

It's same problem.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3282021
Reply all
Reply to author
Forward
0 new messages