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

recover_body() ### What if rNNN legitimately has no revprops? was: Re: Does fsfs revprop packing no longer allow usage of traditional backup software?

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Thu, 30 Jun 2011 22:00:55 +0300

Philip Martin wrote on Thu, Jun 30, 2011 at 19:48:25 +0100:
> for i in $(seq 0 $(svnlook youngest repo)) ; do
> sqlite3 repo/db/revprops/revprops.db "insert into revprop values ($i, '()'"
> done
>

From recover_body():

      /* No file? Hrm... maybe that's because this repository is
         packed and the youngest revision is in the revprops.db
         file? We can at least see if that's a possibility.

         ### TODO: Could we check for revprops in the revprops.db?
         ### What if rNNN legitimately has no revprops? */

Your excerpt implies the answer to the first ###'d question is "Yes"
(via looking for an empty skel), doesn't it?
Received on 2011-06-30 21:01:50 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.