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

Cheuksan Edward Wang wang02139 at gmail.com
Sun Oct 22 05:20:51 BST 2006


Thanks a lot. I have added the tests to test_status.py and test_diff.py .


On 10/22/06, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
>
> -----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-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20061022/d7a8954d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_48136_2.patch
Type: text/x-patch
Size: 7263 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061022/d7a8954d/attachment.bin 


More information about the bazaar mailing list