##// END OF EJS Templates
dirstate: add --minimal flag to debugrebuilddirstate...
dirstate: add --minimal flag to debugrebuilddirstate On repositories with hundreds of thousands of files, hg debugrebuilddirstate causes every dirstate entry to be marked lookup, and the next hg status can take many minutes. This adds a --minimal flag that allows us to only rebuild the parts of the dirstate that are inconsistent. This follows two rules: 1) If a file is in the dirstate but not in the parent manifest, and it is not marked 'add', it is busted and we should drop it. 2) If a file is not in the dirstate at all, but it is in the parent manifest, it should be added to the dirstate and we need to mark it as lookup. This allows us to fix repositories where the dirstate doesn't match the manifest much more quickly. Tested by artificially adding bad dirstate entries (via code) for both cases above.

File last commit:

r16773:d490edc7 default
r26024:84c00f03 default
Show More
graphedge.tmpl
1 line | 70 B | application/x-cheetah | CheetahLexer
Paul Boddie
hgweb: make graph data suitable for template usage...
r16773 edge: ({col}, {row}) -> ({nextcol}, {nextrow}) (color {color})