[MERGE] Replace all uses of compare_tress with Tree.changes_from.

John Arbash Meinel john at arbash-meinel.com
Wed Jul 26 23:04:42 BST 2006


Robert Collins wrote:
> So this patch replaces all the callers of compare_trees.
> 
>  builtins.py                                              |   12 ++----
>  bundle/serializer/v08.py                                 |    3 -
>  commit.py                                                |    2 -
>  delta.py                                                 |    4 +-
>  diff.py                                                  |    8 ++--
>  info.py                                                  |    4 +-
>  merge.py                                                 |    6 +--
>  missing.py                                               |    3 -
>  repository.py                                            |    2 -
>  status.py                                                |    3 -
>  tests/blackbox/test_merge.py                             |    4 --
>  tests/blackbox/test_versioning.py                        |   29
> ++++++---------
>  tests/repository_implementations/test_fileid_involved.py |    3 -
>  tests/repository_implementations/test_repository.py      |    5 +-
>  tests/test_bundle.py                                     |    6 +--
>  15 files changed, 39 insertions(+), 55 deletions(-)
> 
> 

Seems like a plain replace of all occurrences. So as long as we are
switching to Tree.changes_from() +1 from me.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060726/2b19e3f7/attachment.pgp 


More information about the bazaar mailing list