Fossil

View Ticket
Login
Ticket Hash: 9a42dd09e00ca2a04d58165cfc1fb49be94b6983
Title: fossil pull has to be run multiple times
Status: Fixed Type: Incident
Severity: Minor Priority:
Subsystem: Resolution: Fixed
Last Modified: 2015-02-17 00:56:51
Version Found In: 6fe981ec56c6cfc96646765f44ec33091d99cb9d
Description:
When I updated my copy of the fossil repository I had to run 'fossil pull' twice to get everything. I was updating to 
[a742cfa29254d810f9119a065e391d4b74fb1b93]

I recovered my previous repository from backup, and did a new checkout (fossil open) before running 'pull' again. This time it worked.

<hr><i>eric added on 2009-04-13 14:10:43:</i><br>
Worse than that, I think.

fossil clone http://www.fossil-scm.org/ myclone.fossil

gets an empty repository, but (many) repeated pulls will then get evertyhing up to date.

<hr><i>drh added on 2009-04-13 15:59:24:</i><br>
This might be due to some subtle incompatibility introduced by
[737e76a69fbc2e] or a related check-in.  Do you have the same problem
using a client built from the latest code, or is this only an issue
with older clients?

<hr><i>bharder added on 2009-04-13 16:33:03:</i><br>
I've been experiencing this same isssue (empty repo on clone) with recent client (i.e.: approx. [ece2]...). Haven't tried repeated pulls as fix, so can't comment.


<hr><i>eric added on 2009-04-13 18:00:40:</i><br>
<pre>
eric@tasso:~/devel/fossil$ ./fossil ver
This is fossil version [879e8c5f32] 2009-04-13 09:50:42 UTC
eric@tasso:~/devel/fossil$ ./fossil clone http://www.fossil-scm.org/ clone1.fsl
                Bytes      Cards  Artifacts     Deltas
Send:             552         22          0          0
Received:      223152       4706          0          0
Send:            9449        200          0          0
Received:           0          0          0          0
Rebuilding repository meta-data...
4680 (100%)...
project-id: CE59BB9F186226D80E49D1FA2DB29F935CCA0333
server-id:  6fe76b21f279f652a0970c6b7d27afbd1f75b531
admin-user: eric (password is "add78b")
</pre>

Starts with [327823e39b] , [737e76a69f] is OK.

<hr><i>anonymous claiming to be Gé Weijers (ticket creator) added on 2009-04-15 18:52:34:</i><br>
This is still going on, it took two attempts to download the latest (updated sqlite version) using fossil version [a742cfa292]. This is what I saw:

<verbatim>
ge@gw-aa1:~/fossil$ fossil pull
Server:    http://www.fossil-scm.org/
                Bytes      Cards  Artifacts     Deltas
Send:             130          1          0          0
Received:        3174         70          0          0
Send:             600         10          0          0
Received:           0          1          0          0
ge@gw-aa1:~/fossil$ fossil pull
Server:    http://www.fossil-scm.org/
                Bytes      Cards  Artifacts     Deltas
Send:             600         11          0          0
Received:       60812         80          7          3
ge@gw-aa1:~/fossil$ fossil pull
Server:    http://www.fossil-scm.org/
                Bytes      Cards  Artifacts     Deltas
Send:             130          1          0          0
Received:        3174         70          0          0
</verbatim>