~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2466.5.4.

  • Committer: John Arbash Meinel
  • Date: 2007-04-30 17:05:41 UTC
  • mto: (2472.2.1 dirstate_fixes)
  • mto: This revision was merged to the branch mainline in revision 2475.
  • Revision ID: john@arbash-meinel.com-20070430170541-pdh0k81zpedgjl70
Fix bug #11127 by splitting paths on '/'.
This adds a bit of overhead when paths don't match.
So conceptually we might want to cache the split value,
or return it from the underlying iterator.
However, we only need it when the current iterators don't match
so most of the time a simple 'x == y' is sufficient, since
equality is correct with or without the split().
So the computational overhead should be fine.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: