[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: Ramkumar Ramachandra <artagnon_at_gmail.com>
Date: Sat, 24 Jul 2010 02:26:47 +0530

Hi Daniel,

Daniel Shahaf writes:
> Good question.
>
> I'd probably say "last revision successfully dumped was rN" and then exit with
> a non-zero code, leaving it to the admin to clean up the mess (i.e., to truncate
> the dumpfile after the end of rN's data).
>
> Unfortunately, since you dump to stdout, you can't do that seek+truncate yourself :-(

Yeah, this makes sense.

> > can we just look for
> > "^Revision-number: \d+$" from the bottom of the file, clean it up and
> > then resume?
> >
>
> What if a file contains that line as part of its content?

Hm. Maybe it'll make sense to keep track of the total content length
successfully written so that we can truncate. But as Stefan pointed,
we can think about this again in a few days- it's not urgent.

-- Ram
Received on 2010-07-23 22:59:09 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.