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
> 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
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-12-01 10:08:05 CET