|
2011-01-03
| ||
| 23:30 | • Fixed ticket [6883bdd1ef]: fossil pull shows always 0 bytes received plus 1 other change ... (artifact: 85ee53b59a user: drh) | |
| 22:39 | • Ticket [6883bdd1ef]: 1 change ... (artifact: 9a334852de user: anonymous) | |
| 22:23 | Fix the fossil_print() interface to use the internal printf() implementation (which we control) rather than the system printf() since might vary from one platform to the next. Ticket [6883bdd1eff926009c] ... (check-in: d394120c42 user: drh tags: trunk) | |
| 22:11 | • Ticket [6883bdd1ef] fossil pull shows always 0 bytes received status still Open with 1 other change ... (artifact: 9a971a3f12 user: drh) | |
| 19:55 | • Ticket [6883bdd1ef]: 1 change ... (artifact: d511a8ed75 user: anonymous) | |
|
2011-01-02
| ||
| 18:48 | • Ticket [6883bdd1ef]: 1 change ... (artifact: bae5b0f917 user: anonymous) | |
| 17:41 | • Ticket [6883bdd1ef]: 2 changes ... (artifact: a136f7cd3d user: drh) | |
| 16:41 | • New ticket [6883bdd1ef]. ... (artifact: c1c38a0bda user: anonymous) | |
| Ticket Hash: | 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 15.24 years ago |
Created: |
2011-01-02 16:41:01 15.24 years ago |
| Version Found In: | 79b7902cdd | ||
| Description: | ||||
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: | ||||