And now I'm finally realizing the extension of what you implied:  I was  
assuming I would need to issue a "fossil sync" to synchronize my working  
directory with the repository database (similar to mercurial or darcs).   
But it now occurs to me that all of my commits have already done that and  
sync is trying to synchronize my *repository* file against a remote  
repository... which is not necessary for my present activities.  And the  
"database is locked" is most likely occurring because I'm trying to sync  
the repository against itself.

So it's really a case of the wrong mental model of what fossil does.   I  
should be better now!  :-)

Thanks!
-KQ

On Sat, 06 Aug 2011 10:49:03 -0700, Kevin Quick <qu...@sparq.org> wrote:

> Lluis,
>
> Ahh, I didn't know that about _FOSSIL_...  I had assumed it was similar  
> to
> a _darcs or .hg repo.  I tried your suggestion (I didn't use the -keep
> flag) and it seemed to work fine from the perspective of not modifying my
> working directory and all timeline events were still there.
>
> However, it didn't fix the problem.  I still get the "database is locked"
> error on fossil sync.
>
> -KQ
>
>
> On Sat, 06 Aug 2011 10:24:18 -0700, Lluís Batlle i Rossell
> <virik...@gmail.com> wrote:
>
>> On Sat, Aug 06, 2011 at 10:09:33AM -0700, Kevin Quick wrote:
<snip>
>>
>> The changes are not in _FOSSIL_. _FOSSIL_ only keeps the things you can
>> undo,
>> renames, your current checkout and little more. The already committed
>> changes
>> are in 'the database', and the modifications not committed, are in your
>> working
>> directory.
>>
>> Thus, maybe 'fossil open -keep' can help. But I never tried it.
>>
<snip>
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


_______________________________________________
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