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

Re: [PATCH v2] Add svnrdump

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 23 Jul 2010 20:47:12 +0200

On Fri, Jul 23, 2010 at 11:56:57PM +0530, Ramkumar Ramachandra wrote:
> Hi Daniel,
> Daniel Shahaf writes:
> > Or, you could have svnrdump report the highest revision it dumped, and the
> > admin can remember that and invoke svnrdump -r N+1:HEAD next time. (Much
> > cheaper than parsing the entire dumpfile --- which you would have to do in
> > order to figure how many revisions it contains.)
> >
> > (One can parse that already out of the "* Dumped revision %ld" notifications;
> > if this use case is important, we may want to have a switch to suppress all but
> > the last notification...)
> Ah, excellent suggestion! :)
> Only, I wonder what'll happen if the connection breaks after the last
> revision has been partially dumped- can we just look for
> "^Revision-number: \d+$" from the bottom of the file, clean it up and
> then resume?

I'd say get the basics right first, before worrying about features
like this. In my opinion that means that it needs to produce the same
output as svnadmin dump does. (I'm planning to revert r965892 soon,
so you don't need to worry about the Prop-content-m5 and Prop-content-sha1

Received on 2010-07-23 20:48:03 CEST

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