~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4503.1.1.

  • Committer: Vincent Ladeuil
  • Date: 2009-07-02 10:28:58 UTC
  • mto: (4524.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4525.
  • Revision ID: v.ladeuil+lp@free.fr-20090702102858-ihom217tfb09ulmp
Add tree.has_changes() to quickly check iter_changes().

* bzrlib/tree.py:
(Tree.has_changes): Simple shortcut around iter_changes.

* bzrlib/tests/intertree_implementations/test_compare.py:
(TestIterChanges): Add calls to tree.has_changes().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: