We do not normalize paths correctly yet, so exclude the shortcuts.
Details
Details
- Reviewers
SimonSapin - Group Reviewers
hg-reviewers - Commits
- rHG1e00834491a5: rhg-cat: fallback when detecting `.` or `..` path segments
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
Is https://doc.rust-lang.org/std/fs/fn.canonicalize.html the correct normalization needed here? (Note that it follows symlinks.) If it’s easy enough, it may be worth implementing the correct behavior instead of adding fallback.
Comment Actions
This wouldn't work since the normalization must be independent from the fs. You can have hg cat -r 1 file_that_was_deleted_since_then, we need to use HgPath type normalization.