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
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
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.