Comment 5 for bug 709349

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 709349] Re: bzr: ERROR: bzrlib.errors.RetryWithNewPacks: Unprintable exception RetryWithNewPacks

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

On 3/14/2011 8:12 AM, Andrew Bennetts wrote:
> Ok, I've got a trivial fix for the “Unprintable exception”, and with
> some hackery to inject a NoSuchFile error at the appropriate time I have
> a test that reproduces this traceback. Turning that into a tasteful
> test might be tricky, but it's a good start.
>

RetryWithNewPacks isn't supposed to ever bubble up to the user. If it
is, then we have another bug. Because you are only supposed to have set
the _reload_func when you are prepared to catch the exception.

Anyway, I'm happy to have a nicer traceback for bugs, but I did want to
point out there seems to be a logic issue as well.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk199sYACgkQJdeBCYSNAAML+wCgo40q8FsYgVtLRTK6Xu9jZ1+O
+5UAoNDXdL8tqZTZhJ+v4FnoKZTMHDk4
=mmXu
-----END PGP SIGNATURE-----