kilork / hg-parser

Mercurial repository parser
GNU General Public License v2.0
4 stars 1 forks source link

Support 'share-safe' requirement #4

Closed migmedia closed 1 month ago

migmedia commented 1 month ago
thread 'main' panicked at /home/mig/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hg-parser-0.8.0/src/lib.rs:150:41:
could not parse requirement: UnknownRequirement("share-safe")

As far as I understand the mercurial specs, this requirement can be ignored in read-only usecases.

kilork commented 1 month ago

I usually just edit this file before import. But for sure we need to give a flag to threat requirement parse errors as warnings.