sapling/eden
Jun Wu e0afcd18bd log: partically rewrite _makelogrevset to be less cryptic
Summary:
The `_makelogrevset` feels cryptic, partially because its use of `opt2revset`
and related logic for adhoc revset expression calculation.

This diff removes `opt2revset` and related logic, so:
- `opts` is no longer both input and output. It's only input. The output is a
  different variable.
- Use `revsetlang` APIs to format revset strings directly, without going
  through an indirection via `opts`. Avoid `repr` or `a % b` formatting.
  Note: `%d` is formatted as `_intlist(v)` instead of `rev(v)`.

The new code generates slightly simpler revset expressions with less `()`s
(or "group" in revsetlang AST).

Reviewed By: zzl0

Differential Revision: D45936983

fbshipit-source-id: 3155016a85fa9ea61f9334a2d1fc82eac5450fec
2023-06-06 11:13:25 -07:00
..
fs third-party/rust: update to text_placeholder 0.5 2023-06-06 00:44:17 -07:00
integration Add getBlake3 method to eden service 2023-06-05 23:41:35 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke add make unlink command support more blobstores 2023-06-06 08:32:15 -07:00
scm log: partically rewrite _makelogrevset to be less cryptic 2023-06-06 11:13:25 -07:00
test_support asyncio loop vars for 3.10 2023-05-01 10:56:58 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib auth: don't load certs if auth proxy enabled 2023-05-09 09:53:48 -07:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00