##// END OF EJS Templates
rhg: add resolve_file_args to path_utils.rs...
rhg: add resolve_file_args to path_utils.rs Extracted logic for resolving `FILE ...` arguments from cat.rs into a new function in path_utils.rs. I plan to use this for rhg annotate. I tried to reuse hg::utils::files::canonical_path instead, but that didn't work. For example it reports a InsideDotHg error for any path containing "..".

File last commit:

r45952:c25efc46 default
r53438:f33f37ac default
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