[MERGE] Progress bar in InterDifferingSerializer.fetch()

Aaron Bentley aaron.bentley at utoronto.ca
Mon Dec 17 19:34:19 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lukáš Lalinský wrote:
> I'm playing with some repo format, where only the simplest
> InterDifferingSerializer fetcher works, but the lack of a progress bar
> makes pulling really annoying, so here is a patch. I don't know how to
> write a test case for something like this.

I suggest using an instrumented ProgressBar class.  InstrumentedProgress
from test_versionedfile ought to do the trick.  You can extract it into
progress.py as a private class.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZs860F+nu1YWqI0RAqh8AJ9kd1yX93vVrj8cIgJ5jO0GfrKwgQCfYI57
Ka4abg+ohP9nIhKpPJwc2Os=
=3coL
-----END PGP SIGNATURE-----



More information about the bazaar mailing list