rust/Cargo.toml
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 30 Apr 2021 17:36:09 -0400
branchstable
changeset 47026 553451522113
parent 45001 cf04f62d1579
child 51119 34e0670caf46
permissions -rw-r--r--
extensions: ignore exceptions from an extension's `getversion()` method This method is usually called when there's a stacktrace being generated, or with `hg version -v`. Raising another exception risks mangling the bug report info. I hit this issue when trying to add the method to the keyring extension to report the version of the extension and the underlying module, and ran into demandimport issues prior to py3.8. It seems like a wise thing to do anyway, though unfortunately there's no convenient `ui` object around to issue a warning. Use 'unknown' to signal that it tried to report a version and failed, unlike the default case of printing nothing. Differential Revision: https://phab.mercurial-scm.org/D10540
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
35569
964212780daf rust: implementation of `hg`
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff changeset
     1
[workspace]
45001
cf04f62d1579 rhg: add rhg crate
Antoine Cezar <antoine.cezar@octobus.net>
parents: 44642
diff changeset
     2
members = ["hg-core", "hg-cpython", "rhg"]
44642
af739894a4c1 hgcli: add stub PyOxidizer project
Gregory Szorc <gregory.szorc@gmail.com>
parents: 44641
diff changeset
     3
exclude = ["chg", "hgcli"]