Fossil SCM
Another correction to the xfer status counters.
Commit
04b9b0136daec1bcb6b5e088e8f091203d7c84b17f26e76b696004630e973561
Parent
dca483a80c126e2…
1 file changed
+1
-1
+1
-1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -2383,16 +2383,16 @@ | ||
| 2383 | 2383 | xfer_syncwith(g.url.canonical, 0); |
| 2384 | 2384 | } |
| 2385 | 2385 | |
| 2386 | 2386 | /* Output current stats */ |
| 2387 | 2387 | nRoundtrip++; |
| 2388 | + nArtifactSent += xfer.nFileSent + xfer.nDeltaSent; | |
| 2388 | 2389 | if( syncFlags & SYNC_VERBOSE ){ |
| 2389 | 2390 | fossil_print(zValueFormat /*works-like:"%s%d%d%d%d"*/, "Sent:", |
| 2390 | 2391 | blob_size(&send), nCardSent+xfer.nGimmeSent+xfer.nIGotSent, |
| 2391 | 2392 | xfer.nFileSent, xfer.nDeltaSent); |
| 2392 | 2393 | }else{ |
| 2393 | - nArtifactSent += xfer.nFileSent + xfer.nDeltaSent; | |
| 2394 | 2394 | if( bOutIsTty!=0 ){ |
| 2395 | 2395 | fossil_print(zBriefFormat /*works-like:"%d%d%d"*/, |
| 2396 | 2396 | nRoundtrip, nArtifactSent, nArtifactRcvd); |
| 2397 | 2397 | } |
| 2398 | 2398 | } |
| 2399 | 2399 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -2383,16 +2383,16 @@ | |
| 2383 | xfer_syncwith(g.url.canonical, 0); |
| 2384 | } |
| 2385 | |
| 2386 | /* Output current stats */ |
| 2387 | nRoundtrip++; |
| 2388 | if( syncFlags & SYNC_VERBOSE ){ |
| 2389 | fossil_print(zValueFormat /*works-like:"%s%d%d%d%d"*/, "Sent:", |
| 2390 | blob_size(&send), nCardSent+xfer.nGimmeSent+xfer.nIGotSent, |
| 2391 | xfer.nFileSent, xfer.nDeltaSent); |
| 2392 | }else{ |
| 2393 | nArtifactSent += xfer.nFileSent + xfer.nDeltaSent; |
| 2394 | if( bOutIsTty!=0 ){ |
| 2395 | fossil_print(zBriefFormat /*works-like:"%d%d%d"*/, |
| 2396 | nRoundtrip, nArtifactSent, nArtifactRcvd); |
| 2397 | } |
| 2398 | } |
| 2399 |
| --- src/xfer.c | |
| +++ src/xfer.c | |
| @@ -2383,16 +2383,16 @@ | |
| 2383 | xfer_syncwith(g.url.canonical, 0); |
| 2384 | } |
| 2385 | |
| 2386 | /* Output current stats */ |
| 2387 | nRoundtrip++; |
| 2388 | nArtifactSent += xfer.nFileSent + xfer.nDeltaSent; |
| 2389 | if( syncFlags & SYNC_VERBOSE ){ |
| 2390 | fossil_print(zValueFormat /*works-like:"%s%d%d%d%d"*/, "Sent:", |
| 2391 | blob_size(&send), nCardSent+xfer.nGimmeSent+xfer.nIGotSent, |
| 2392 | xfer.nFileSent, xfer.nDeltaSent); |
| 2393 | }else{ |
| 2394 | if( bOutIsTty!=0 ){ |
| 2395 | fossil_print(zBriefFormat /*works-like:"%d%d%d"*/, |
| 2396 | nRoundtrip, nArtifactSent, nArtifactRcvd); |
| 2397 | } |
| 2398 | } |
| 2399 |