| Ticket UUID: | 6883bdd1eff926009ccf60851faa8df37f2c837e | ||
| Title: | fossil pull shows always 0 bytes received | ||
| Status: | Fixed | Type: | Code_Defect |
| Severity: | Minor | Priority: | |
| Subsystem: | Resolution: | Fixed | |
| Last Modified: | 2011-01-03 23:30:52 | ||
| Version Found In: | 79b7902cdd | ||
| Description & Comments: | |||
Pulling from canonical fossil repository shows always "0 bytes received" regardless of bytes transferred.
c:\soft\bin>fossil.exe ver
This is fossil version [79b7902cdd] 2011-01-01 03:06:47 UTC
c:\soft\bin>fossil.exe pull http://www.fossil-scm.org/ -R myfossilclone_canonical.fossil
Bytes Cards Artifacts Deltas
Sent: 177 2 0 0
Received: 1688 36 0 0
Sent: 271 4 0 0
Received: 4299 38 1 1
Sent: 177 2 0 0
Received: 1688 36 0 0
Total network traffic: 926 bytes sent, 0 bytes received
drh added on 2011-01-02 17:41:48 UTC: anonymous added on 2011-01-02 18:48:41 UTC:
c:\soft\bin>c:\soft\bin\fossil-w32-20110101030647.exe pull http://www.fossil-scm.org/ -R myfossilclone_canonical.fossil
Bytes Cards Artifacts Deltas
Sent: 177 2 0 0
Received: 1780 38 0 0
Sent: 224 3 0 0
Received: 2254 39 1 0
Sent: 177 2 0 0
Received: 1780 38 0 0
Total network traffic: 903 bytes sent, 0 bytes received
anonymous added on 2011-01-03 19:55:36 UTC: Microsoft Windows 2000 [Verze 5.00.2195] (C) Copyright 1985-1999 Microsoft Corp. Microsoft Windows XP [Verze 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. patch:
Index: src/xfer.c
===================================================================
--- src/xfer.c
+++ src/xfer.c
@@ -1567,10 +1567,14 @@
/* Stop the cycle if the server sends a "clone_seqno 0" card */
if( cloneSeqno<=0 ) go = 0;
};
transport_stats(&nSent, &nRcvd, 1);
+ fossil_print("%lld bytes sent, %lld bytes received\n",nSent, nRcvd);
+ fossil_print("%lld bytes received, %lld bytes sent\n",nRcvd, nSent);
+ fossil_print("%lld bytes sent\n",nSent);
+ fossil_print("%lld bytes received\n",nRcvd);
fossil_print("Total network traffic: %lld bytes sent, %lld bytes received\n",
nSent, nRcvd);
transport_close();
transport_global_shutdown();
db_multi_exec("DROP TABLE onremote");
output:
fossil.exe pull http://www.fossil-scm.org/ -R myfossilclone_canonical.fossil
Bytes Cards Artifacts Deltas
Sent: 177 2 0 0
Received: 2286 49 0 0
291 bytes sent, 0 bytes received
377 bytes received, 0 bytes sent
291 bytes sent
377 bytes received
Total network traffic: 291 bytes sent, 0 bytes received
anonymous added on 2011-01-03 22:39:11 UTC: | |||