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

Re: [TSVN] Compare revisions from repo browser

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-06-20 18:43:25 CEST

Simon Large wrote:
>>>If you compare 2 revisions in a show log from repo browser, and look
>>>at the changes in a file, TMerge shows the HEAD revision in the
>>>title bars of both versions of the file, even when neither file is
>>>at HEAD.
>>
>>Can't reproduce that here. What exactly are you doing? I get here the
>>correct revisions shown in TMerge.
>
> Open repo browser on TSVN tree, open tags dir, select version_1.1.5 and
> version_1.1.6 and compare revisions. Double click last entry
> (SVNproperties.cpp). TMerge shows the correct files (I think), but the
> titles for both panes is 'SVNproperties.cpp Revision 3744'. And the

That's the HEAD revision, ok. But you started the repobrowser in HEAD,
and that's what's being compared.

> progress dialog while fetching referred only to r3744. It is true that I
> am viewing both tags at HEAD, but what is interesting is the last commit
> revision of the files.

Why? They haven't changed since then, and look *exactly* as they do now
in HEAD (what you compare).

>>>If I compare files in a tag with trunk I get a lot less changed files
>>>than if I compare tag with tag. When comparing with trunk, I think
>>>it is the added files that are missing.
>>
>>That's because we do the diff with ignore-ancestry set. So if you
>>compare two different URLs, we get less diffs than when you compare to
>>identical URLs.
>
> Why do we do that?

Because we would get a *lot* of entries which are bogus. That's why the
Subversion API provides this flag - depending on if you do a diff
between revisions/same URL or two URL's, you can decide to ignore the
ancestry or not.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jun 20 18:43:42 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.