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

Re: "Compare with working copy" in update dialog option compares wrong revisions

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-24 10:21:41 CET

On 1/24/06, Roel Harbers <roel@roelharbers.com> wrote:
> the "Compare with working copy" context menu command compares the
> updated file with the old revision of the root of the working copy (the
> directory the update command is run on), *not* the old revision of the
> updated file.

Yes. Because we don't know which files will be updated. So we just get
the 'old' revision of the root, do the update, and then do the diff
between the old root revision and the HEAD.
If we wanted to do the diff between the old revision of the file and
HEAD, we'd have to first crawl the whole working copy, store the
last-committed-rev of each and every file.

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 Tue Jan 24 10:21:59 2006

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.