Andy Bradford wrote:
> If the connection  times out
> then I  would expect the whole  operation to fail and  the repository be
> deleted.

That's horrible. You have to re-download the entire repository if one packet is 
lost at the end?

> I'm curious what Fossil would do with one of the partial clones that you
> got. What happens if you try to pull into one of the partial clones?
>
> fossil pull -R fossil-src-2.fossil https://www.fossil-scm.org/

# ls -l
total 24228
-rw-r--r-- 1 root root  2337792 Jan  6 19:48 fossil-src-1.fossil
-rw-r--r-- 1 root root  7735296 Jan  6 19:48 fossil-src-2.fossil
-rw-r--r-- 1 root root 37087232 Jan  6 19:48 fossil-src-3.fossil
-rw-r--r-- 1 root root  2457600 Jan  6 19:48 fossil-src.fossil
# fossil pull -R fossil-src.fossil https://www.fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 0
Error: bad command: pull d046336a8159e6c82f580878dc487f6fe3187535 

Round-trips: 1   Artifacts sent: 0  received: 0
Pull finished with 2887 bytes sent, 252 bytes received
# fossil pull -R fossil-src-1.fossil https://www.fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 0
Error: bad command: pull 9718e6fa34b5fa4860a40da1976fb087bc78d180 

Round-trips: 1   Artifacts sent: 0  received: 0
Pull finished with 2770 bytes sent, 251 bytes received
# fossil pull -R fossil-src-2.fossil https://www.fossil-scm.org/
Round-trips: 1   Artifacts sent: 0  received: 0
Error: bad command: pull dceb34826f0f212d67e97376f7655fa0e1c9719c 

Round-trips: 1   Artifacts sent: 0  received: 0
Pull finished with 4132 bytes sent, 251 bytes received
# fossil pull -R fossil-src-3.fossil https://www.fossil-scm.org/
Round-trips: 4   Artifacts sent: 0  received: 34
Pull finished with 2288 bytes sent, 20186 bytes received
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to