On 05/05/11 16:22, Martin Pool wrote:
I filedhttps://bugs.launchpad.net/bzr-rewrite/+bug/777920 to track this. I think it will have been improved a fair bit by John's recent work on huge-tree workingtree performance work (which sped up some things like revert 8x) but there's probably more to do. That work is in bzr 2.4beta, which you can get from eg ppa:bzr/daily.
I certainly have witnessed revert being very slow.
In fact, I'd say it feels quicker to run "bzr st" and then do "bzr revert" naming individual files. Maybe that's illusory, but it's certainly quicker to revert individual files if you already have the list to hand. Of course, that doesn't revert merge notes, so it's perhaps not exactly the same.
Uncommit is another command that seems unreasonably slow. It really shouldn't be that hard to do a "patch -R" and update some metadata somewhere, but clearly there's a lot more to it than that!
Andrew