Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Normalize hashes, throw exception on things that aren't hashes #6

Open
fredemmott opened this issue Mar 21, 2016 · 0 comments
Open

Comments

@fredemmott
Copy link
Contributor

  • normalize to the full commit hashes
  • hg can be extended to support custom commit identifiers - subversion IDs, differential, etc. These should be banned: some are ambiguous, others may be local-only. Generally, there's a risk of users depending on behavior that is out of our control. Possible fix: assert that original hash is a substring of the normalized hash.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant