[bzr-loom:MERGE] Show current thread in 'status' (fixes bug 232465)
John Arbash Meinel
john at arbash-meinel.com
Wed May 28 21:16:16 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonathan Lange wrote:
| Hello all,
|
| I hacked this one up over the weekend. This branch adds an overlay to
| 'bzr status' that shows the current thread if you are looking at a
| loom.
|
| Output looks something like:
| $ bzr st
| Current thread: experiment-with-threads
| M barlib/foo.py
|
| This has already made my life with looms a lot easier.
|
| The code I've added roughly parallels the existing code to overlay the
| 'switch' command, and the test I've added is blackbox.
|
| My biggest worry with the patch is that it slows down the performance
| of status. I'd appreciate guidance on how to minimize this slowdown.
|
| cheers,
| jml
|
Well, you can use 'bzr --lsprof status' to get an idea of where it is slowing down.
My guess is that opening the branch a second time is costing you a little bit.
But that is just a guess. How much of an impact are you seeing?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkg9vZAACgkQJdeBCYSNAAMqngCdEaXWVEAEw1vPSKVJXxFSZL4i
lVgAn1qjgONGhmcvmnWFkFz7QFbnO6Ip
=9sYq
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list