building working tree doesn't update sha cache

Bug #740932 reported by John A Meinel
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
John A Meinel

Bug Description

The first time you build the working tree, you know that all the files match the basis revision. However, we don't set the sha and mtime values in the dirstate file. The first time you run 'bzr status' or 'bzr commit' will be quite a bit slower, but will end up updating those values.

On my testing with something like GCC, this was about 2min spent re-hashing every file. Which is fairly significant if you are using a new working tree for each feature branch.

Related branches

Martin Pool (mbp)
tags: added: dirstate performance
Martin Pool (mbp)
tags: added: affects-linaro
John A Meinel (jameinel)
Changed in bzr:
assignee: nobody → John A Meinel (jameinel)
Martin Pool (mbp)
Changed in bzr:
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.4b2
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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