Tnx for sending your repository and check-out.

There are a couple of problems.  Both are things Fossil ought to be  
able to deal with - things I will fix presently.  Both are easy to  
work around.

First, when I run:

     fossil status | grep MISSING

I see that there are a bunch of files that are missing from the  
repository.  These files need to be either reverted or "fossil rm"- 
ed.  I used this command:

     fossil status | grep MISSING | while read m name; do fossil  
revert $name; done

(Third thing that needs to be fixed - there ought to be an easier way  
to revert many files.  Or, maybe if files are missing they out to be  
automatically "rm"-ed.  Or maybe that there is an option to  
automatically "rm" missing files.  Thoughts?  What do other DVCSes do?)

The other problem is that you changes what used to be a file,  
webmachine/demo/webmachine, into a directory.  Fossil was still trying  
to "read" it as a file, which was causing problem.  I fixed this by  
running:

     fossil rm webmachine/demo/webmachine

After making those two changes, the "commit" completed normally.

Let me just take a moment here to point out that the error message  
that Michael has been getting is a result of one of the many "self- 
checks" that Fossil runs on every check-in and check-out.  In a less  
careful implementation of a DVCS (one in which these massive MD5  
checksum comparisons did not occur) these bugs would have been missed  
and the commit would have proceeded without error.  That might have  
worked.  Or it might have resulted in a corrupt repository.  I'm not  
sure which.  But in this case, the extra checking found the error and  
the repository database was rolled back before any harm could be  
done.  And so we can continue to make the bold claim that nobody has  
ever lost work that was successfully checked into a Fossil repository  
due to a Fossil bug.  The self-checks in Fossil continue to serve us  
well.  More information at:  
http://www.fossil-scm.org/fossil/doc/tip/www/selfcheck.wiki



D. Richard Hipp
d...@hwaci.com



_______________________________________________
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