On Wed, May 7, 2014 at 1:59 AM, Andy Bradford <amb-fos...@bradfords.org>wrote:
> > Basically it does a commit each round trip and defers execution of hooks > until the last round-trip happens. > That is scary. The purpose of the hooks is to verify that all of the content in the repository is still accessible. Before each commit, the hooks run to verify that all of the artifacts can still be un-deltaed and uncompressed and they survive those operations intact. Suppose some future change to Fossil introduces a bug that causes the delta or compress operations to lose information so that historical artifacts are no longer recoverable. The hooks are intended to detect that problem *before* it can permanently damage the repository. Doing a commit without running the hooks disables that very important safety mechanism. -- D. Richard Hipp d...@sqlite.org
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users