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

Re: Performance improvement suggestion when comparing revisions of a large file

From: Martin Fuller <martin_at_bellvedi.com>
Date: Thu, 15 Sep 2016 11:19:29 +0100

On 14 September 2016 at 21:11, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
> On 14.09.2016 21:14, Martin Fuller wrote:
> > I work with a few large text files in SVN, say 50MB, and our server is
> > not on a LAN. When I use "SVN Show Log" on a large file and then
> > "Compare revisions" Tortoise downloads 2 full copies of the file, which
> > takes 80 seconds The actual diff may take 5 seconds if not much
> > changed. It would be much quicker if it downloaded diffs instead.
> > "Show changes" also downloads 2 full copies of the file.
> >
> > Compare my current revision and another revision, "Show changes" => just
> > download 1 diff from my current revision.
> > Compare a revision before my current and a revision after my current =>
> > download 2 diffs from current.
> > Compare 2 revisions both before / after my current => download a diff
> > from current to the nearer revision, then a diff between the revisions.
> > Compare 2 revisions with no current version => download 1 full file (the
> > earlier one?) and 1 diff.
> >
> > Currently I work round this by keeping a local copy of every revision
> > for a few key files. It is really inefficient in disk space because
> > there are lots of small changes.
>
> Use the "Show changes as unified diff" feature - that will only fetch
> the diff.

"Show changes as unified diff" also downloads 50MB (one full file). The
diffs themselves were less than 100KB.
I would like to use "Compare revisions" because it gives more context.

PS TortoiseSVN 1.9.4, Build 27285 - 64 Bit , 2016/04/24 13:59:58. Windows
10 Pro.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3185871

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-09-15 12:20:10 CEST

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