~jameinel/bzr/2.0.1-faster-get-deltas-bug374730

Viewing all changes in revision 4680.

  • Committer: John Arbash Meinel
  • Date: 2009-09-24 21:41:52 UTC
  • Revision ID: john@arbash-meinel.com-20090924214152-pv21z2k7a2uddy63
The changes_from() implementation fails the include_parents test.
The previous get_deltas_for_revisions() implementation would include
  mv foo bar
if you did
  bzr log bar/file
(It would show you changes to a parent dir, when logging a child.)
It is arguable either way, but I think we want to preserve this behavior.

Also note that this 'changes_from' implementation is taking 1m35s up from the 36s
I was seeing with the simpler implementation.
My guess is that the paths2ids overhead is significant.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: