commit with specified files does not go in lexicographical order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If you do a regular 'bzr commit' then we iterate the filesystem in sorted order.
However, if you do "bzr commit foo bar baz" then we put those paths into a set (based on osutils.
Even further, it probably walks the fs in a random order, which could probably be better.
It would seem that the best place to fix this would be in _dirstate_
It seems like other clients of iter_changes like status and diff do sorting of results. So fixing iter_changes will benefits for them too.