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

Re: TSVN - Log Dialog - Compare with Previous Revision

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 25 Nov 2009 22:35:44 +0100

On 25.11.2009 02:03, Daniel Becroft wrote:
> Hi,
>
> I've come across a strange situation with the Log Messages dialog, and
> the "Compare with Previous Revision" option.
>
> The Log Messages dialog is launched from the Repository Browser window
> (from a parent directory, /alpha). I have the following change
> (r7612), which is listed in the file list as:
>
> Action: Added
> Path: .../alpha/beta/source-modified/foo.c
> Copy from path: .../alpha/beta/source-base/foo.c
> Revision: 7499
>
> (/source-modified and /source-base are sibling folders, and the file
> has been copied with additional modifications).
>
> If I right-click on the revision in the top pane, and select "Compare
> with Previous Revision", I expected to see (in the Changed Files
> window) the difference between /alpha_at_7611 and /alpha_at_7612 (which
> should only be the copy of foo.c). However, what I actually get is a
> comparision between /alpha_at_7499 and /alpha_at_7612.

But that's correct: the previous revision of that file is the one from
where it was copied from. TSVN has to follow the copyfrom path,
otherwise (in case of a rename) it wouldn't find the file at /alpha_at_7611
because the file would have another name in r7611.

Sure, if you only copied the file without any modifications, the diff
isn't really useful. But it often happens that you copy a file in your
working copy, modify it and then commit it. So you would actually get a
diff in this situation.

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=2424417
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-25 22:36:04 CET

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.