On 3/8/2011 12:38 PM, Jan Danielsson wrote:
> Hello,
>
>     Ever since the early days when I was using perforce, subversion,
> bazaar, etc I've had - as a part of my maintenance backup scripts - a
> repository check to verify the integrity of it prior to archiving the
> file(s) and sending them to a remote backup server.
>
>     I've read that fossil does extensive checks during normal operation,
> and that these extra checks can be disabled using the repo-cksum. Let's

I believe you have a misunderstanding here ... The docs of repo-cksum say

   repo-cksum       Compute checksums over all files in each checkout
                     as a double-check of correctness.  Defaults to "on".
                     Disable on large repositories for a performance
                     improvement.

Note how it refers to a checkout. This is a check done when you are committing 
files. Of the checkout against the small database in the workspace holding file 
status information.

This is not a check of the full repository itself. As you seem to wish to 
perform before archiving it.

Richard's answer told you how to epxlicitly run the repo-cksum per the above, 
for a specific checkout/workspace.

My answer told you internal commands doing a full repository integrity check.

> say I want to disable repo-cksum for a rather large project. But for
> each weekly maintenance, I'd like to run an ultra-paranoid check of the
> entire repository before archiving it and sending it off to the remote
> backup server. Is there an explicit command to do this (fossil help
> doesn't list any particularly obvious "check", "fsck" or anything of the
> sort), or can one provoke such a check to happen without re-enabling the
> repo-cksum setting?

-- 
Andreas Kupries
Senior Tcl Developer
ActiveState, The Dynamic Language Experts

P: 778.786.1122
F: 778.786.1133
andre...@activestate.com
http://www.activestate.com
Get insights on Open Source and Dynamic Languages at www.activestate.com/blog
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to