'bzr revert' shouldn't be much slower than 'bzr status'

Bug #759096 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
John A Meinel

Bug Description

Thinking about 'bzr revert' it really just walks the tree finding what has been changed, and then replaces it with different content.
However, in the gcc-linaro tree with a reasonable sized merge, it takes 'bzr st' only 2s, but 'bzr revert' takes 16s.

I'm guessing the issue is that 'bzr revert' is doing something like building up a map of all entries in the tree, rather than starting with just the changed files, and then going from there.
We've spent a lot of time making 'iter_changes' fast, we should see if we can build revert on top of it.

Related branches

John A Meinel (jameinel)
Changed in bzr:
status: Confirmed → In Progress
assignee: nobody → John A Meinel (jameinel)
John A Meinel (jameinel)
Changed in bzr:
status: In Progress → Fix Released
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.4b3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.