Summary:
This diff includes changes to include the configerator per-repo hg-sync parameters in mononoke repo.config type
Configerator Diff: D37454155
Differential Revision: D37462675
fbshipit-source-id: 6d06b386b4a27536ab0c08169e6ad6badcb00d82
Summary: D37424149 introduced new API, which allows client to provide token environments (PROD, CORP, etc) and made currently used `identies_for_service` deprecated. Lets fix it
Reviewed By: markbt
Differential Revision: D37485584
fbshipit-source-id: aa4a5859e16fcd6e97a51ffa5c7a7900a9007761
Summary:
TPX on Windows is being worked on, but not yet ready for prime time. Let's make
sure that getdeps isn't trying to use TPX on Windows for now.
Reviewed By: splhack
Differential Revision: D37474152
fbshipit-source-id: e636b0b68f6f73472f28295c280803ac44fafebf
Summary: We no longer ship these templates in our current builds. This can be confirmed by checking that they are missing from `/opt/fb/mercurial/edenscm/mercurial` on non-Windows, although they are still present in `C:\Program Files\Mercurial\Templates` on Windows.
Reviewed By: DurhamG, jordanwebster
Differential Revision: D37432491
fbshipit-source-id: c4143c75dfbc8374f412d763607d9148928cb89c
Summary:
This comes with a new graphql-parser that can _almost_ parse the intern graphql
schema (next diff in this stack updates to a patch that I am submitting as a PR
to work completely)
Reviewed By: zertosh
Differential Revision: D37455821
fbshipit-source-id: 7eead27130e76fc2abd56f1c2895dafeecb8f178
Summary:
getSpacedProcessName is an ambiguous command line encoding, and it's
only used in two low-signal logging paths. Therefore, remove the
function and call `std::replace` where it's desired.
Reviewed By: genevievehelsel
Differential Revision: D37402041
fbshipit-source-id: 35096b58051e27cacbb51f3b0a9bd743d99780c0
Summary: Remoteopts used to contain the `--remotecmd` and `--ssh` options for hg commands. This diff removes them since we no longer support any of these.
Reviewed By: jordanwebster
Differential Revision: D37456843
fbshipit-source-id: e307ddfea1f4e3e465f07fa568d133441a8f7bf7
Summary:
Mononoke currently surfaces only one type of file / content metadata, i.e. the size of the file. Scenarios have surfaced which indicate that it would be useful to have additional file metadata/properties, which answer the following questions:
- Is the file binary?
- Is the file valid ASCII?
- Is the file valid UTF8?
- Does the file end in a newline character?
- How many newline characters does the file have?
- In case of shebang, what is the type of the file?
Reviewed By: yancouto
Differential Revision: D37136735
fbshipit-source-id: 95e9073e1ce83c422b260226b78d4f8c3750454c
Summary: Both Mononke and EdenAPI have types to represent Git SHA1s. Implement conversions between them.
Reviewed By: kris1319
Differential Revision: D37453027
fbshipit-source-id: 044305864cac2ccc8b029af22d4c9af4da439bf6
Summary:
This diff makes none of the `sharded_map` code depend on anything specific to DMv2.
The last bit that was depending was that sharded map node ids were always serialized with `deletedmanifest2.mapnode.XXX` blobstore keys.
This diff makes that customisable, by allowing you to specify the `Id` that will be used when using sharded map, and dmv2 specifying the dmv2 specific one. It also renames the id structs to make that clear. I had to add a new `IdContext` trait for it, which allows us to use Context structs in a generic way.
This allows other stuff to use sharded maps with their own hashes.
Reviewed By: mitrandir77
Differential Revision: D37112685
fbshipit-source-id: 12b22f33ee4b43cc1ff06eb44152adabac33366c
Summary:
Add a new EdenAPI method, `commit_translate_id`, which allows the client to ask
the server to translate commit IDs between different schemes.
Currently we use SCMQuery via Phabricator's GraphQL API to do globalrev <-> hg lookups.
This method is more generic, is supports translation in any direction between hg, bonsai,
globalrev and git hashes.
This diff just introduces the underlying mechanism. Once it is fully rolled
out, we can migrate globalrev translation from SCMQuery to the new method.
Reviewed By: yancouto
Differential Revision: D37308659
fbshipit-source-id: 13d72eadf8f4160f962d71a21a108ca2b14019f9
Summary: Something didn't work in old clap (showing enum variants in help), it can probably made work in old clap, but easier to upgrade than debug what is probably already fixed.
Reviewed By: zertosh
Differential Revision: D37438042
fbshipit-source-id: 3404b5f6b83edd537248ddae719724226e9a4656