[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: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Tue, 1 Dec 2009 07:16:47 +0100

Hi Daniel,

2009/11/30 Daniel Becroft <djcbecroft_at_gmail.com>:
> Does anyone have any further comments to this? If I'm misunderstanding
> what the "Compare with Previous Revision" is supposed to do, then my
> apologies. But, it does seem inconsistent.
>
> When selected the "Show Log" from the Repository Browser for the path
> svn://X/alpha:
>
> a) For a revision (r10) with a file copy (from r5), it will show the
> difference between r10 and r5 for the path /alpha (which will include
> all the changes made to unrelated files under /alpha in r6-9)
> b) For a revision (r11) with a file copy (from r5), and a modification
> to a separate file, it will show the diffference between r11 and r10
> (the previous revision on /alpha).
> c) For a revision (r12) with multiple file copies (from the same
> revision), it will show the difference between r12 and r11 (the
> previous revision on /alpha).
>
> I could list all the combinations that I have checked, but they will
> all do the same as (b) or (c) - which is what I would have expected.
> It only seems the first scenario (single file copy) that seems to be
> acting differently.
>
> Maybe it is my misunderstanding of what the "Compare with Previous
> Revision" is supposed to do. My understanding of it, is to answer the
> question "What files/directories under this path were affected by this
> revision?" Is this where I am incorrect?
>

I think it has to do with the logic that determines 'this path'. AFAIK
the logic operates like this:

For a single file request, the history of that particular file is seen
as the context in which the request is made, hence it's content at the
original location is taken to compare with.

For a request with multiple files, the common path ancestor of these
files is used, and files are matched against files from the same
ancestor tree as it was in the revision. Files are then compared if
they have the same name (even if their history is completely
unrelated).

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2425775
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-01 10:08:05 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.