[patch] fix bug 48136 bzr status, diff, etc do not work properly after remote push

Aaron Bentley aaron.bentley at utoronto.ca
Sat Oct 21 18:13:34 BST 2006


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

Cheuksan Edward Wang wrote:
> 
> I have fixed 48136. I cannot write a simple blackbox test because a
> local push always updates the working tree. Can someone teach me how to
> write a test for this?

You're not really testing push, but diff and status.  So you can just
use WorkingTree.set_last_revision() to force the tree to be out of date.

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

iD8DBQFFOlU+0F+nu1YWqI0RAn6fAJ9Fdciyk4djMZLXabW8WBHh3oiQYACdHVpH
yLZcc2xkomTDhPRqtew9yHU=
=88Pg
-----END PGP SIGNATURE-----




More information about the bazaar mailing list