[PATCH 2 of 2 RESEND] lfs: emit a status message to indicate how many blobs were uploaded

Yuya Nishihara yuya at tcha.org
Fri Feb 2 06:07:20 EST 2018


On Thu, 01 Feb 2018 20:29:29 -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1517281788 18000
> #      Mon Jan 29 22:09:48 2018 -0500
> # Node ID dac55f22cd775a8d3a213e9b6716f03e49e1e765
> # Parent  0088fad7fa84a6ec668682e137273e252bc7441c
> lfs: emit a status message to indicate how many blobs were uploaded

Queued, thanks.

> Previously, there was a progress bar indicating the byte count, but then it
> disappeared once the transfer was done.  Having that value stay on the screen
> seems useful.  Downloads are done one at a time, so hold off on that until they
> can be coalesced, to avoid a series of lines being printed.  (I don't have any
> great ideas on how to do that.  It would be a shame to have to wrap a bunch of
> read commands to be able to do this.)

No idea other than keeping stats in lfsremoteblobstore and hook a dispatcher
function or repo.close() to report it, which doesn't sound nice.


More information about the Mercurial-devel mailing list