~vila/bzr/320119-exclude-ancestry

Viewing all changes in revision 5158.

  • Committer: Vincent Ladeuil
  • Date: 2010-04-14 16:38:06 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20100414163806-8ity266y0gf5f7mv
Fix the performance by finding the relevant subgraph once.

* bzrlib/branch.py:
(Branch._filter_merge_sorted_revisions): Calculate the graph
difference once.

* bzrlib/tests/test_log.py:
(TestLogExcludeAncestry.make_branch_with_alternate_ancestries):
Make the test more obvious.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: