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

RE: Bug: "svnadmin dump --incremental --deltas" gives too much output

From: Paul Charlton <techguru_at_byiq.com>
Date: Tue, 30 Sep 2008 08:08:01 -0700

Vincent,

Overall, this does not seem like a bug unless the documentation set the
wrong expectation.

"dump" and "diff" serve entirely different purposes. Specifically, "dump"
must export enough information to recreate the subject files in a new
repository, while "diff" only needs to export enough information to recreate
the subject file in the originating repository.

Assume 2 revisions: (n), (n-1), containing just a few text files.
"dump" must export "(n):full text" (to recreate a baseline) and also the
difference of (n):(n-1)
"diff" must only export the difference of (n):(n-1)

You will see the efficiencies of "svnadmin dump --incremental --deltas" when
there are many revisions in the dump when compared to the same dump from
"svnadmin dump --incremental"

Can you cite which documentation led to the understanding that you express
in your email?

best,
Paul

-----Original Message-----
From: Vincent Lefevre [mailto:vincent+svn_at_vinc17.org]
Sent: Tuesday, September 30, 2008 4:24 AM
To: dev_at_subversion.tigris.org
Subject: Re: Bug: "svnadmin dump --incremental --deltas" gives too much
output

I can reproduce this problem on the MPFR repository (revision 5629).
So, if someone needs a testcase, this is possible (but quite large).
FYI, this happens on updates of ChangeLog files.

For the MPFR case:
  svn diff -> 222778 bytes
  svnadmin dump --incremental --deltas (version 1.1.4) -> 311751 bytes
  svnadmin dump --incremental --deltas (version 1.5.1) -> 988544 bytes

The dump with 1.1.4 was obtained on the MPFR svn server itself.
The dump with 1.5.1 was obtained on a different machine, after
rebuilding a repository from the full dump.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-30 17:08:17 CEST

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

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