Sample repo dump

2014-11-04 Thread Baruch Burstein
Hi all,

I am working on a tool that will extract data from svn dumps (such as
produced by `svnadmin dump` and `svnrdump`). 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). Anyone have
such a thing?

Thanks

P.S. I will check the list for replies, but would appreciate it if I can be
explicitly Cc:ed with replies, too.

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı


Fwd: Sample repo dump

2014-11-06 Thread Baruch Burstein
Resending to the list (accidentally replied privately)

-- Forwarded message --
From: Baruch Burstein 
Date: Wed, Nov 5, 2014 at 3:07 PM
Subject: Re: Sample repo dump
To: Andreas Stieger 


On Wed, Nov 5, 2014 at 1:57 PM, Andreas Stieger 
wrote:

> Hello,
>
> > On 4 Nov 2014, at 08:15, Baruch Burstein  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.
>
> What are you trying to achieve?
>

A module to import svn dumps into another SCM.


> > 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.
>

I created a repo for this purpose, but don't know if I have every kind of
weird combination in there.

Side-note: My dumps (using both `svnadmin dump` and svnrdump) don't include
the svn:mergeinfo property. Is there a way to get this to be dumped, too?


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı



-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı


svn dump format

2014-11-18 Thread Baruch Burstein
Hi all,

Are the node records in a single revision in a svn dump file
guaranteed/required to be in a sorted lexicographical order? If not, is
that at least the case when using the official dump tools
(svnadmin/svnrdump)?

Please CC me on replys

Thanks,
Baruch

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı


svn dump format

2014-11-18 Thread Baruch Burstein
Resending to list

-- Forwarded message --
From: Baruch Burstein 
Date: Tue, Nov 18, 2014 at 12:57 PM
Subject: Re: svn dump format
To: Philip Martin 


On Tue, Nov 18, 2014 at 12:40 PM, Philip Martin 
wrote:

> The hash ordering of nodes in dump files was considered a bug:
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=4134
>
> and is fixed in recent versions.
>

So what is the (undocumented) order now?


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı



-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı