Fri, 29 Jul 2005 08:42:28 -0800 Fix performance regression in addremove command.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 29 Jul 2005 08:42:28 -0800] rev 809
Fix performance regression in addremove command. When I rewrote addremove, I lazily put a call to repo.changes in, which was unnecessary and slow. This is a new rewrite, preserving the file name behaviour, but replacing the call to repo.changes with a walk, which is much cheaper, and avoids calls to os.stat on all but files that have probably been deleted.
(0) -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip