Commit Graph

4 Commits

Author SHA1 Message Date
Muir Manders
3d57f7816c kill "extdata()" revset/template func
Summary: I don't think we use this, and it includes a "shell:" gateway to invoke arbitrary commands.

Reviewed By: quark-zju

Differential Revision: D42158009

fbshipit-source-id: 514da6fdf9b1644db98d48fe4a9aaca4c6096515
2022-12-20 13:58:53 -08:00
Muir Manders
8ed51e769d docs: replace ":hg:" with ":prog:"
Summary: This makes it clearer that "hg" isn't going to show up in sl docs.

Reviewed By: bolinfest

Differential Revision: D41222458

fbshipit-source-id: 80f2e9a51c2b668a8506965d313f7e644d733ae9
2022-11-13 19:24:12 -08:00
Saul Gutierrez
41b41de101 replace hardcoded hg and Mercurial with @prog@ and @Product@ outside of helptext.py
Summary:
Makes help text (e.g. the output of `hg help`) and strings that use the `_()` function use the identity of the current binary instead of using hardcoded strings for the name of the binary and the product.

For the sake of clarity, replacements for `helptext.py` are done in D40165740

Most of the rename was done using sed + some manual edits. The regex strings for the rename were:

- `"s/\(_(\".*\)\([^.]+\)hg\([^[:alpha:]\/]\)\(.*\")\)/\1\2@prog@\3\4/g"`
- `"s/\(_(\".*\) hg \(.*\")\)/\1 prog@ \2/g"`
- `"s/\(_(\".*\)\([^.]\)hg\([^\/[:alpha:]]\)\(.*\")\)/\1\2@prog@\3\4/g"`
- `"s/\(_(\".*\)\([^.]\)hg\([^\/[:alpha:]]\)\(.*\")\)/\1\2@prog@\3\4/g"`
- `"s/\(_(\".*\)\([^.]\)hg\([^\/[:alpha:]]\)\(.*\")\)/\1\2@prog@\3\4/g"`

Reviewed By: bolinfest

Differential Revision: D40162909

fbshipit-source-id: 34d92ef3e667caad278643690e69bd608fc9fdf9
2022-10-10 16:39:36 -07:00
Muir Manders
44343769f8 collapse edenscm.mercurial package into edenscm
Summary:
We want to rename away from "mercurial". Rather than rename the "mercurial" Python package, we opted to just collapse it into the parent "edenscm" package. This is also a step towards further organizing we want to do around the new project name.

To ease the transition wrt hotfixes, we now replace "edenscm.mercurial" with "mercurial" to fix imports within base64-python extensions.

Reviewed By: sggutier

Differential Revision: D38943169

fbshipit-source-id: 03fa18079c51e2f7fac05d65b127095da3ab7c99
2022-08-24 13:45:53 -07:00