~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5151.2.1.

  • Committer: John Arbash Meinel
  • Date: 2010-04-14 04:26:53 UTC
  • mto: (5050.3.1 2.2)
  • mto: This revision was merged to the branch mainline in revision 5157.
  • Revision ID: john@arbash-meinel.com-20100414042653-gpn4fv8ahpb4x7gv
Avoid reordering when unnecessary. Fixes bug #562429

The existing code would do a full iteration over all pack indexes (for all of
rix/iix/tix/cix/six), just to generate a list that was in the same order.
Instead, we now only trigger a re-order when we know something has
changed in the local index.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: