Some error messages want to include a relative path,
which affects the output of some tests.
Details
Details
- Reviewers
marmoute Alphare - Group Reviewers
hg-reviewers - Commits
- rHG97ac588b6d9e: rhg: Don’t make repository path absolute too early
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
@marmoute why did you ask for changes on this diff?
rust/rhg/src/commands/root.rs | ||
---|---|---|
19 | FYI: https://www.reddit.com/r/rust/comments/jqx8hf/normpath_more_reliable_path_manipulation/ I'm not sure if we want to do anything about it for now other than maybe adding a comment and a maybe wrapper function for all canonicalize. |
rust/rhg/src/commands/root.rs | ||
---|---|---|
19 | https://docs.rs/normpath/0.2.0/normpath/trait.PathExt.html#tymethod.normalize says this method is the same as canonicalize on Unix. I think we can revisit if we run into the Windows-specific issues this crate aims to solve. |
FYI: https://www.reddit.com/r/rust/comments/jqx8hf/normpath_more_reliable_path_manipulation/
I'm not sure if we want to do anything about it for now other than maybe adding a comment and a maybe wrapper function for all canonicalize.