Initially, when I tried with the new code I got the same error. Then I
realized that I had un-shunned the files to see if that would fix the issue.
So, I shunned them both again, rebuilt the repository, cloned, and was able
to open it again. It gave me some checksum errors after the open, but seems
to have recovered. New commits are working.

Very much appreciated!

Now that I'm back in business, how can I prevent accidentally adding these
files into the repository again? I generally do "fossil add src/", which
adds all of the new files in my src folder. Maybe this isn't the recommended
technique?

Thanks,
Wes

On Fri, Aug 20, 2010 at 1:39 PM, Richard Hipp <[email protected]> wrote:

> I checked in a change (http://www.fossil-scm.org/fossil/ci/7e23178ba3)
> that might just fix this problem.  Can you rebuild fossil from sources and
> try this again?  Let me know what happens, please.
>
>
> On Fri, Aug 20, 2010 at 12:55 PM, Wes Freeman <[email protected]>wrote:
>
>> I'm getting the same error. Hopefully this is an accurate replay of what I
>> just did.
>>
>> 1. I removed a file that had password information.
>> 2. I shunned some files that had password information (on the main
>> repository), including the file that I removed.
>> 3. I rebuilt the main repository on the server.
>> 4. I synced.
>> 5. The file that I shunned was in the list to add, so I added it (this was
>> probably a dumb idea, and where things screwed up), hoping that it would be
>> rejected because of the shun, but would no longer show up in the list of
>> things to add. This seems to have somehow corrupted the server's copy of the
>> repository.
>> 6. I commited/auto-synced.
>> 7. Then, a fossil status reported that the file I had shunned had been
>> edited (although it hadn't).
>> 8. I tried to commit this edited file, and it failed because of a checksum
>> difference.
>> 9. At this point I decided to just try to clone a clean copy, so I moved
>> my local repository to another folder, made a clean folder, and did a new
>> clone. Then, doing the "fossil open" is when I got the error.
>>
>> I can get by with the backup repository I moved away. I'm still in early
>> stages of development, so it's not a huge loss to lose the history. I just
>> thought I would chime in, in case my replay helped resolve the issue.
>>
>> Thanks,
>> Wes
>>
>> On Tue, Jun 15, 2010 at 3:07 PM, Richard Hipp <[email protected]> wrote:
>>
>>>
>>>
>>> On Tue, Jun 15, 2010 at 3:00 PM, Michael Barrow <[email protected]>wrote:
>>>
>>>>
>>>> I had a problem doing a checkin ("fossil: tree checksum does not match
>>>> repository after commit"), so I chucked my working copy and cloned the
>>>> repository again from the server. This succeeded, but now I get an error
>>>> when I try to open the local copy:
>>>>
>>>>        fossil: content missing for foo/bar/baz
>>>>
>>>> "foo/bar/baz" is the path to a file in the repository.
>>>>
>>>> I'm running:
>>>>        This is fossil version [73c24ae363] 2010-03-18 14:20:33 UTC
>>>>
>>>>
>>>> Any suggestions?
>>>>
>>>>
>>> Please send me your repository by private email and I will investigate.
>>>
>>>
>>>> --
>>>> Michael Barrow
>>>> michael at barrow dot me
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> fossil-users mailing list
>>>> [email protected]
>>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>>
>>>
>>>
>>>
>>> --
>>> ---------------------
>>> D. Richard Hipp
>>> [email protected]
>>>
>>> _______________________________________________
>>> fossil-users mailing list
>>> [email protected]
>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>>
>>>
>>
>> _______________________________________________
>> fossil-users mailing list
>> [email protected]
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>>
>>
>
>
> --
> D. Richard Hipp
> [email protected]
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to