[MERGE] test _get_log method should cope if .bzr.log is not open

John Arbash Meinel john at arbash-meinel.com
Fri Oct 17 03:34:56 BST 2008


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

Martin Pool wrote:
> If the tests are run with $HOME not writable, then .bzr.log is not opened, and
> some tests fail in the method modified below.  trace.mutter guards against this
> variable being None, so this method should too.

BB:approve

Though it would be nice to just set up a simple test that calls
"_get_log" after setting the trace_file to None.

John
=:->

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

iEYEARECAAYFAkj3+dAACgkQJdeBCYSNAANrZwCdEU9m4tlZ674AAX9JYNyHMpfy
EoEAoJwA44rl4hmRooD7llCcVz3Xu9Yj
=SdlK
-----END PGP SIGNATURE-----



More information about the bazaar mailing list