push over [slow] sftp connection

John Arbash Meinel john at arbash-meinel.com
Tue Dec 5 17:00:59 GMT 2006


Alexander Belchenko wrote:
> I push to Aaron's site my new branch. I see progress bar when bzr do
> something. Then progress bar disappear but bzr continue to send some
> data (>100K). It's a intended behaviour?
> 
> Alexander

Well, I would expect a little bit of data, because we would unlock the
branch, and verify that we held the lock. But 100K is a lot more data
than I would expect that to contain.

Actually, come to think of it, I think it is uploading the
'revision-history' which is about 100K, which is being done outside the
progress bar. At least, that is my best guess.

I don't know any specific reason why it needs to do it this way, other
than it is easier. Because 'fetch()' is one set of code, and 'copy this
information into the .bzr/branch/* directory' is another piece of code,
and they don't talk to eachother.

Also, we generally down track progress any closer than per-file (we
don't do any progress updates during actual transfer of data like per
10kbytes or something like that.)

I can see your point, though.

I think our "best" fix, is to just get rid of the revision-history file,
in favor of a last-revision marker.

John
=:->



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061205/4a2faf1d/attachment.pgp 


More information about the bazaar mailing list