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

Re: BUG: "Show Log" always shows log of HEAD instead of the file I click on

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 29 Jun 2015 20:28:09 +0200

On 29.06.2015 19:32, Oliver Meyer wrote:
> Hi,
>
> If I update a directory to a certain revision, the log that "Show Log" displays is wrong. TortoiseSVN shows the log of the HEAD version of the file, while the file I enquire the log of is in a different revision and thus has a different log.
>
> The log that "svn log filename" shows and the log that TortoiseSVN for the same file (on my hard disc) shows are different. I expect the logs to be the same.
>
> I experience the problem with 1.7.x but checked with 1.8.11. The problem is still there.

It's not really a bug. It is a design decision that was made a long time
ago.
As you've noticed, the command line client always shows the log from the
revision the working copy is on. TSVN however always shows the log from
HEAD.
If you search the svn mailing lists you will discover that showing the
log from the WC revision causes a lot of confusion with users. That's
why TSVN shows the log from HEAD.

Yes, for your situation this is not ideal. But updating the WC to
earlier revisions is not done often and should be usually avoided: you
can not edit/commit from an earlier revision, and for users it's not
visible that they shouldn't edit files in such a working copy.

If you want to show the log from an earlier revision with TSVN, either
start the log dialog from the command line:
tortoiseproc.exe /command:log /path:"path/to/wc" /startrev:3

or open the repo browser, click the "HEAD" button and change the
revision, then show the log from there.

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=3125121
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-06-29 20:29:14 CEST

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.