Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG8d6164098782: rhg: allow specifying a changeset ID prefix
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
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?