[rfc] transports to pass progress messages
Martin Pool
mbp at sourcefrog.net
Mon Jan 21 23:54:51 GMT 2008
On 22/01/2008, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Martin Pool wrote:
> > Summary: Transports should have a connection to the ui progress
> > indicator, and tell it when they read/write data, so that we get a
> > bottom-up progress indicator, as well as the current top-down one.
> >
>
> Seems reasonable. I would be a little concerned about implementation,
> since you are likely to have at least 2 transports operating at any
> given time. Since you are pulling from one, and writing to the other.
>
> Also in some cases they will not be perfectly in sync, read from one,
> think about it a bit, write out something similar but not exactly the same.
>
> I think we *do* want something like this, I just wanted to bring up some
> implementation concerns.
Yes, I thought about that too - it would be easy to have it report
double the actual network rate & volume by having it also count the
local disk io. But it should be soluble.
--
Martin
More information about the bazaar
mailing list