[MERGE] fix 'bzr missing -v'

John Arbash Meinel john at arbash-meinel.com
Wed Dec 20 16:58:21 GMT 2006


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

indigo on IRC pointed out that supplying --verbose to 'bzr missing' was
printing out backwards deltas.

Basically it was doing:
  parent_tree.changes_from(child_tree)

rather than:
  child_tree.changes_from(parent_tree)

This patch fixes it so we do the right thing, and adds a test for
iter_log_data() to make sure that there aren't any other subtle problems
(like getting renames backwards, etc).

I probably went a little overboard on the test, but I think it makes
sure we cover all the cases of deltas.

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

iD8DBQFFiWutJdeBCYSNAAMRAtFKAJ4tK8SKvzV93nlK5o+rHecPZLyylACgl2PK
yPsCtNcR/LZDUkByuLm01D4=
=Mvfw
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-missing-v.patch
Type: text/x-patch
Size: 4763 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061220/5e33e710/attachment.bin 


More information about the bazaar mailing list