Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG8d6164098782: rhg: allow specifying a changeset ID prefix
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/revlog/revlog.rs | ||
---|---|---|
102 | Hmm, this seems to be incorrect. What if we have multiple hashes that start with the same prefix? |
rust/hg-core/src/revlog/revlog.rs | ||
---|---|---|
102 | Oh that’s a good point. I’ve updated the patch to return an error for ambiguous prefixes, and added a corresponding variant to a few error types. |
Hmm, this seems to be incorrect. What if we have multiple hashes that start with the same prefix?