##// END OF EJS Templates
phases: avoid N² behavior in `advanceboundary`...
phases: avoid N² behavior in `advanceboundary` We allowed duplicated entries in the deque, which each entry could potentially insert all its ancestors. So advancing boundary for the full repository would mean each revision would walk all its ancestors, resulting in O(N²) iteration. For repository of any decent size, N² is quickly insane. We introduce a simple set to avoid this and get back to reasonable performance.

File last commit:

r45952:c25efc46 default
r52398:c9ceb4f6 6.7 stable
Show More
.editorconfig
21 lines | 348 B | text/x-ini | IniLexer
Jun Wu
mercurial: add editorconfig...
r28793 # See http://EditorConfig.org for the specification
root = true
[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true
Matt Harbison
mercurial: force LF endings for *.py, *.{c,h} and *.t in .editorconfig...
r45952 end_of_line = lf
Jun Wu
mercurial: add editorconfig...
r28793
[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true
Matt Harbison
mercurial: force LF endings for *.py, *.{c,h} and *.t in .editorconfig...
r45952 end_of_line = lf
Gregory Szorc
mercurial: add .t files to .editorconfig...
r38300
[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false
Matt Harbison
mercurial: force LF endings for *.py, *.{c,h} and *.t in .editorconfig...
r45952 end_of_line = lf