Overview
Artifact ID: | d511a8ed75ff772c218063b82da71eb419fdfb70 |
---|---|
Ticket: | 6883bdd1eff926009ccf60851faa8df37f2c837e
fossil pull shows always 0 bytes received |
User & Date: | anonymous 2011-01-03 19:55:36 |
Changes
- Appended to comment:
<hr /><i>anonymous added on 2011-01-03 19:55:36 UTC:</i><br /> I wonder what is happening here. If I patch file src/xfer.c, I can see one or another value correct. I can't see correct print of both values. I've checked it on Czech Win 2000 and XP systems: 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:<br> <verbatim> 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"); </verbatim> output:<br> <pre> 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 </pre>