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

Re: Sample repo dump

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 5 Nov 2014 23:13:40 +0000

Andreas Stieger wrote on Wed, Nov 05, 2014 at 11:57:26 +0000:
> Hello,
>
> > On 4 Nov 2014, at 08:15, Baruch Burstein <bmburstein_at_gmail.com> wrote:
> >
> > I am working on a tool that will extract data from svn dumps (such as produced by `svnadmin dump` and `svnrdump`).
>
> You will probably find the API, bindings and tools support for loaded repositories much more complete and suitable for your project for most tasks except those specifically designed to manipulate dumps.
>

For a specific example, see the APIs used by 'svnadmin load'.

> What are you trying to achieve?
>
> > I would like to make sure I can handle all kinds of cases, both common and corner cases (not error cases such as malformed dumps). Is there a sample repo or sample dump file that I can use? I would like it to include as many types of flows as possible (add/copy/delete/move for both files and directories, merges of various kinds, branches, etc.) while also keeping the total amount of revisions and files low to aid in debugging. Probably just one or two revisions with each type of flow (or combinations of flows if they need special handling when coming together in a single revision).
>
> These can be trivially created from many public repositories or one specifically created/scripted by you for this purpose.

The repositories created by the test suite should cover a good amount of
corner cases (run 'make check' and see subversion/tests/cmdline/svn-test-work/repositories/).

The reference documentation is the documentation of svn_delta_editor_t
in the C API.

Daniel
Received on 2014-11-06 00:14:13 CET

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

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