Commit Graph

51186 Commits

Author SHA1 Message Date
Shrikrishna Khare
b2f5da202e fbcode_builder: getdeps: fboss: add git-lfs fetcher
Summary:
As titled. This is needed by OpenBCM, and in future, possibly by other
manifests as well.

Reviewed By: wez

Differential Revision: D18759807

fbshipit-source-id: d445dfa382cea4bf96443ab9889926a4abbf0757
2019-12-03 11:43:41 -08:00
Wez Furlong
fbf697b7be mercurial: remove hg_watchman_client and watchman_client crates
Summary:
These are not currently used by mercurial and are superseded
by the newer more general `watchman_client` crate on crates.io:

https://docs.rs/watchman_client/0.2.0/watchman_client/

Some of the implementation of that crate was based on the work I'm
removing here.

I was going to update hg_watchman_client to be implemented in terms
of the new crate, but since it isn't used and it would only be a thin
wrapper, I figure that it is best to delete this code instead so that
we can integrate it in terms of the new API when we're ready.

Reviewed By: singhsrb

Differential Revision: D18777161

fbshipit-source-id: efacb749e6d35ff4cc1fdc7d99cdca9ed42c9cfe
2019-12-03 10:59:41 -08:00
svcscm
ab9997718b Updating submodules
Summary:
GitHub commits:

5510b30ef6
f873f5d761
1d8ebfaf58
7043e743d2

Reviewed By: yns88

fbshipit-source-id: e76342a4266a99290c1b8a592bbb2f1f0b865e9f
2019-12-03 10:38:10 -08:00
Zeyi (Rice) Fan
6ae87b04f6 eden: remove hg_import_helper.py
Reviewed By: simpkins

Differential Revision: D18602771

fbshipit-source-id: bf004911251b7380d1c4c21c07241c7d0a853c61
2019-12-03 09:30:09 -08:00
Zeyi (Rice) Fan
6d31b0b0dc eden: use the zipapp_main instead of main so return code gets correctly returned
Summary:
`edenfsctl` on macOS is not returning the status code correctly when build with `make-client.py`.

We should be using [`zipapp_main`](https://fburl.com/diffusion/3eot1k7a) that uses `sys.exit` to propagate the exit code from [`main`](https://fburl.com/diffusion/k7t8vqmx).

Reviewed By: simpkins

Differential Revision: D18772986

fbshipit-source-id: 1714be9665b0779d30e5c86fb1e498466fee56f9
2019-12-03 09:20:42 -08:00
Mateusz Kwapich
7a0665c9fc remove dead code from fbconduit hg extension
Summary:
Since it's not calling conduit anymore we can remove all conduit related
functions.

Reviewed By: quark-zju

Differential Revision: D18733121

fbshipit-source-id: 20a6022d9ac7ae6e9afea2791a8daac57cefb22c
2019-12-03 05:56:20 -08:00
Mateusz Kwapich
fa8571f49a migrate log_v2 to grpahql
Summary:
conduit is going away, phabricator team wants us to stop using
it in hg.

Reviewed By: quark-zju

Differential Revision: D18732257

fbshipit-source-id: c4faf83e36af80fc616e91adede141ba12de5446
2019-12-03 05:56:20 -08:00
Mateusz Kwapich
fd3b110471 migrate get_mirrored_rev to graphql
Summary: conduit is going away, phabricator team wants us to stop using it in hg

Reviewed By: quark-zju

Differential Revision: D18727399

fbshipit-source-id: c208f5fec5fefd83aa37629b56d2bbaa2532d30e
2019-12-03 05:56:20 -08:00
svcscm
d08e07175f Updating submodules
Summary:
GitHub commits:

0faaa9b25a

Reviewed By: yns88

fbshipit-source-id: 518ec6c1b67dbd5b47814d76d9732c3a4ef8e590
2019-12-03 05:56:19 -08:00
svcscm
201899f02a Updating submodules
Summary:
GitHub commits:

74d60d1019
16fa6fd2a6
24fcf9254b

Reviewed By: yns88

fbshipit-source-id: 335a587ef07f2d2fd4f2662ec18ad07f819773bd
2019-12-02 16:46:00 -08:00
Stefan Filip
1f76f9e63f manifest: restructure InsertError to give back arguments
Summary:
It would be nice if the insert method would give back the path that
it failed to insert.

Reviewed By: dtolnay

Differential Revision: D18739978

fbshipit-source-id: 4c16d09750ade2f01397161129c31bcf0059a957
2019-12-02 15:53:41 -08:00
Stefan Filip
30045a27ba manifest: update python bindings to allow insertions before deletions
Summary:
The Mercurial code has the bad habbit of inserting files in what can
appear impossible locations. Sometimes files with directory names and
sometimes directories in file locations. This happens because the initial
code would do additions before deletions on Manifest implementations that
were rudimentary. As soon as we introduce validation various code paths
surface.

I tried to fix the codepaths that modify manifests but it's a losing game.
I fixed the issue that appeared in tests and a couple of issues people
reported but more situations crop up.

This is giving up on the python code.

Reviewed By: quark-zju

Differential Revision: D18737678

fbshipit-source-id: 0c97128ff67e5ba2334942b6afc404aa64a2e5f4
2019-12-02 15:53:41 -08:00
Joseph Friesen
74b914e6b5 change mode of lock file to workaround flock behavior with NFS v4.x
Summary:
In NFS v4.x, flock ends up inheriting some semantics of fcntl,
including that write locks can only be created against file handles
opened for O_WRONLY or O_RDWR.

This diff changes the mode of 'lockpath' to O_RDWR to solve this.

Reviewed By: simpkins

Differential Revision: D18714734

fbshipit-source-id: 84ba4a6a5de034a4942b1ca3aa8b0c92f882ce38
2019-12-02 15:34:23 -08:00
svcscm
87db99ed72 Updating submodules
Summary:
GitHub commits:

2ce5773e6a
4ffa566369

Reviewed By: yns88

fbshipit-source-id: a271092b34710dc52a664af58228abd40240f3c6
2019-12-02 15:34:22 -08:00
svcscm
d7e4926b82 Updating submodules
Summary:
GitHub commits:

7b3a807de9
3a8812435b
19eadc885c
771cc9afb7
26311e3c19
6baa7358e1
0fe1a224cc
5b1f1d66b3

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: d08b7dce46f8ed8cbaf89aeb401ca8c12d0668ef
2019-12-02 08:39:34 -08:00
Ahmed Soliman
30ee55c5c5 Install wheel and cython on fbcode_builder venv environments
Summary:
This is an update to the fbcode_builder codebase to allow setting up the python virtualenv with python dependencies installed. I've included wheel and cython (with a pinned version to 0.28.6 which is the only version that works with thriftpy3 at the moment, due to https://github.com/cython/cython/issues/2985) as standard packages since these are required by some of our top-level dependencies (folly and thrift)

As far as I know, there are no other projects that use PYTHON_VENV at the moment except LogDevice so the impact should be minimal.

Reviewed By: lucaspmelo

Differential Revision: D18758383

fbshipit-source-id: 264941311c5e3a19dc4ef2bb78c9a1baa34dfd8c
2019-12-02 07:38:34 -08:00
svcscm
9990ddf496 Updating submodules
Summary:
GitHub commits:

4a09b26331
ac75dfde14
f411ef67a1
fb8dc55f3e
2dc57e5e3e
79edb8ea7c
3d9bec9187

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 7ac1c6f91d4a7330882adce4010ab787a98d1a94
2019-12-02 07:38:34 -08:00
svcscm
50d53688b6 Updating submodules
Summary:
GitHub commits:

f54141d8fe
1baa9e6087
3d0c120023
c95bd4c68e
6805f86ad7
4b26353e0d
420d5abaf7
2c9a7a814f

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 3195a1223ed82e44c2cfe4a7ced610e91b10f3d7
2019-12-01 13:43:39 -08:00
Shrikrishna Khare
c865230548 fbcode_builder: getdeps: fboss: add OpenBCM fetcher
Summary: As titled

Differential Revision: D18726457

fbshipit-source-id: 717a6cda4a78e1b246f20328df1f01b78560cac5
2019-12-01 12:36:50 -08:00
svcscm
7b374d3e6a Updating submodules
Summary:
GitHub commits:

6b3e04cfb3
fca98a9c5a

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 853f8c1b7d882ba64a07ca5270c7f2dd37208861
2019-12-01 06:29:05 -08:00
svcscm
e4c4161a50 Updating submodules
Summary:
GitHub commits:

c027c0d22f

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 1c73dd17ead29b1d4fde7d7e1d9ce8c01bb44f3d
2019-12-01 04:22:31 -08:00
svcscm
7f6f7c053b Updating submodules
Summary:
GitHub commits:

569c8cb346
88712a7a0f

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 9389e439aa1e324b95c4b92d05b98f5e238487d9
2019-11-30 04:22:05 -08:00
svcscm
fbc5e2b99d Updating submodules
Summary:
GitHub commits:

091555c3e6
7a0ed7392d
f2a70ca925
8496e64e42
c7ccfcc2ce
e19b29702f
59cb341424
1c3c902a03
54c931c299

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 2bf4fa77d68614da0a1c9f81243baf0b12147ffb
2019-11-29 04:17:02 -08:00
Lukas Piatkowski
ce1dd22f6e rust-shed: unify Cargo.toml definitions
Reviewed By: farnz

Differential Revision: D18726052

fbshipit-source-id: 4f18430342ab6fd4fc82cc7d03e21f3e50e0ce25
2019-11-29 01:59:02 -08:00
svcscm
3b47109aed Updating submodules
Summary:
GitHub commits:

ce7962943c
268f732670
f9b187fe9a
975af63a73
2ea29109e0
6c13db2eeb
a54e4bf037
50b0ed4199

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5aa633d427933994bede55c99d01476e9debfa82
2019-11-28 06:00:45 -08:00
Jun Wu
6acee3c3b4 watchmanclient: drop "version =" in Cargo.toml
Summary:
`path = ...` is enough. This should resolve the following build issues:

  error: failed to select a version for the requirement `serde_bser = "^0.1.0"`
    candidate versions found which didn't match: 0.2.0
    location searched: ...
  required by package `watchman_client v0.1.0 (...)
      ... which is depended on by `hg_watchman_client v0.1.0 (...)`

Reviewed By: lukaspiatkowski

Differential Revision: D18738176

fbshipit-source-id: 725840895a8e988b35000a48cf92018b14cb4dee
2019-11-28 05:16:53 -08:00
Lukas Piatkowski
a8ebf55e26 fbcode_builder: add cargo builder for Rust projects
Summary: The cargo builder will be used to verify if an opensource Rust project passes Cargo build, test and (optionally) documentation build.

Reviewed By: markbt

Differential Revision: D18636934

fbshipit-source-id: e982e6a017eb32913e2994e7457c8add2e9d6b95
2019-11-28 04:59:38 -08:00
svcscm
526fbc8ec2 Updating submodules
Summary:
GitHub commits:

c15d1ca3e7

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: afc8c31c5b1063bddddbd9e877698c939b074f44
2019-11-28 04:59:37 -08:00
svcscm
2925a82fe5 Updating submodules
Summary:
GitHub commits:

64dc8e79e9
3b2aa3c218
dc6c17ca9e
4508ea4e06
6150034ff3
12b7a89a4b
9befbe9b40
2fd96cc070
68bf04ce46
19bd96d453
7229ad4fd7
b2bb2b465b
4c65c9023d

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: e7dc6a4ebafdc6a01aff89f4038f5679ed6e7011
2019-11-27 11:43:37 -08:00
Jun Wu
94cbed7002 metalog: track bookmarks
Summary:
Since bookmarks are stored in svfs, track it in metalog for better transaction
support.

This affects some transaction / rollback behaviors. Since our plan is to remove
`hg rollback` eventually, the compatibility is intentionally broken.

Reviewed By: xavierd

Differential Revision: D18538147

fbshipit-source-id: 6070772a4bce88d3808547207f5df194696b1b52
2019-11-27 11:37:44 -08:00
Jun Wu
7883ed2e7e metalog: also write files to disk
Summary:
Existing tools (ex. shell complete script) still read from
`.hg/store/{remotenames,bookmarks}`. Be compatible with them by double writing
content to both metalog and filesystem. Metalog is the source of truth for hg.

Reviewed By: xavierd

Differential Revision: D18524106

fbshipit-source-id: c37bc86b7443bba1b65735f29243767650b22ecd
2019-11-27 11:37:43 -08:00
Jun Wu
c0bc1fb8be bookmarks: move 'bookmarks' state to storevfs
Summary:
Similar to D17199834, by moving 'bookmarks' from localvfs and sharedvfs to
storevfs, we can make it part of metalog and get better transaction support.

Reviewed By: xavierd

Differential Revision: D18524104

fbshipit-source-id: ae148c1f02fc83b5c2d73102ecab39ff223ea5df
2019-11-27 11:37:43 -08:00
Jun Wu
864b42fc8a tests: do not operate on .hg/bookmarks directly
Summary:
I'm going to move `bookmarks` to "metalog". So operating on the `.hg/bookmarks`
file no longer works.

Reviewed By: xavierd

Differential Revision: D18524105

fbshipit-source-id: dc31b13e1acc171d2e8b32cdfea7028faf6dc4d3
2019-11-27 11:37:43 -08:00
Jun Wu
4fe519d97f repo: always share bookmarks
Summary:
Right now `bookmarks` is stored at both "local" vfs and the "shared" vfs.
In an upcoming change I'd like to move bookmarks to the "metalog" to get
better transaction. Therefore make it always shared.

The shared bookmark feature is turned on by default. Assuming nobody manually
turns it off, production hosts all have shared bookmark turned on.

Reviewed By: simpkins

Differential Revision: D18524103

fbshipit-source-id: 3160146f357dd01f2d78f5d2f4a14838f8f12a94
2019-11-27 11:37:42 -08:00
Jun Wu
541d4bf625 commands: avoid infinite loop when collecting process tree info
Summary:
We have seen cases on Windows where the hg process gets stuck in
CreateToolhelp32Snapshot. Let's be defensive and always exit the loop.

Reviewed By: singhsrb

Differential Revision: D18729720

fbshipit-source-id: fb8602ce231eec01b6b42c6759849d56e5db2030
2019-11-27 11:04:30 -08:00
Jun Wu
9c8156804e metalog: raise ProgrammingError on misuse
Summary:
The only valid place that metalog can be changed is inside a transaction, since
it's transaction.{close,abort} that writes or discards metalog changes.

In other words, metalog should not be changed during A, B, or C:

  |<- A ->|<----------- repo lock --------->|
          |<- B ->|<- transaction ->|<- C ->|

Add detection for them.

Reviewed By: xavierd

Differential Revision: D18538143

fbshipit-source-id: 036286ed32a897fe3ce0a91c1e3c848cc6167b1d
2019-11-27 00:24:09 -08:00
Jun Wu
353361701c metalog: add is_dirty API
Summary:
This helps test if there are uncommitted changes. It can help detecting
programming errors. For example, is metalog changed before starting a
transaction?

Reviewed By: xavierd

Differential Revision: D18538148

fbshipit-source-id: 9c82838d8174e6a93fde7108503a025660191cbf
2019-11-27 00:24:09 -08:00
Jun Wu
05b53a4d7b metalog: discard in-memory metalog at lock/transaction boundary
Summary:
Before this diff, metalog has a same lifetime as repo.svfs and never gets
reloaded or dropped. That is problematic in case external processes also
make changes, ex. running `hg amend` in `histedit exec`.

    pid 1> histedit action foo (a single transaction, metalog loaded here)
    pid 1> histedit action exec ... (a single transaction)
    pid 2> hg amend (changes metalog)
    pid 1> histedit action bar (cannot perform this action because metalog has
           conflicts!)

This is why test-mutation.t didn't work with metalog.

Fix it by discarding metalog state at transaction/lock boundary (enter/exit).

The next two diffs add checks so we wouldn't discard uncommitted data silently.

Reviewed By: xavierd

Differential Revision: D18519995

fbshipit-source-id: ceb030362d66ad4be142e81accb82a4afa67f305
2019-11-27 00:24:08 -08:00
Jun Wu
2e092eb740 infinitepush: protect writes with locks and transaction
Summary: This resolves ProgrammingErrors detected by a later change.

Reviewed By: xavierd

Differential Revision: D18538145

fbshipit-source-id: 650e956707af6024457cdc7dabf516d087ad03cd
2019-11-27 00:24:08 -08:00
Jun Wu
0dc3e471d7 remotenames: protect writes with locks and transaction
Summary: This resolves a ProgrammingError added later.

Reviewed By: xavierd

Differential Revision: D18538144

fbshipit-source-id: f6d26890e663eff7cb2aedd621b7df33f8bf1fa0
2019-11-27 00:24:08 -08:00
Jun Wu
6ef1bca4c2 clone: protect writes with locks and transaction
Summary: This resolves a ProgrammingError added later.

Reviewed By: xavierd

Differential Revision: D18538146

fbshipit-source-id: fd659491e77e2b21f876f16a61860806acbc1480
2019-11-27 00:24:07 -08:00
Jun Wu
1d4682dfa0 metalog: improve conflict handling
Summary:
The current `commit` code path errors out without telling much about what
conflicts are. Improve it by showing what are actually conflicting, and allows
users to replace the resolver function to do customized merges.

Reviewed By: xavierd

Differential Revision: D18519996

fbshipit-source-id: 78f42ada1df45659783ce1eba30a19f6fc6b3b62
2019-11-27 00:24:07 -08:00
Jun Wu
44e6e32d5a tests: remove tests that #require svn
Summary:
Those tests will crash `run-tests.py` because `svn` is unknown to `hghave`.

Alternatively we can revert `hghave` changes in D18088850. But it seems there
is little interest in converting svn repos using the convert extension.

Reviewed By: singhsrb

Differential Revision: D18713922

fbshipit-source-id: 1a70b3d5d0fe8d02cc0549eabeb609ab1d9c12e6
2019-11-27 00:24:07 -08:00
Jun Wu
d011a49d16 run-tests: protect a "print" with "iolock"
Summary:
I have been seeing the progress bars get messed up like:

  [                    ] 0 Passed. 0 Failed. 0 Skipped. 903 Remaining         0.3s
  [                    ] test-contrib-perf.t                                  0.3s
  [                    ] test-check-code.t                                    0.3s
  [                    ] test-check-config.t                                  0.3s
  [                    ] test-contrib-check-code.t                            0.3s
  [                    ] 2 Passed. 0 Failed. 0 Skipped. 902 Remaining         0.4s
  [                    ] test-contrib-perf.t                                  0.4s
  [                    ] test-check-code.t                                    0.4s
  [                    ] 3 Passed. 0 Failed. 0 Skipped. 900 Remaining         0.9s
  [                    ] test-contrib-perf.t                                  0.9s
  [->                  ] test-check-code.t                                    0.9s
  [                    ] 5 Passed. 0 Failed. 1 Skipped. 897 Remaining         2.4s
  [-->                 ] test-contrib-perf.t                                  2.4s
  [--------->          ] test-check-code.t                                    2.4s
  [----------------->  ] test-check-config.t                                  2.4s
  [----------------->  ] test-contrib-check-code.t                            2.4s
  [                    ] test-run-tests.t                                     2.4s
  [------>             ] test-checkoutidentifier-commitinfo.t                 2.4s
  [-------------->     ] test-commitcloud-checkoutlocations-update.t          2.4s
  [-------->           ] test-checkserverbookmark.t                           2.4s
  [--------------->    ] test-checkoutidentifier-dirstateinfo.t               2.4s
  [---------->         ] test-debugcheckcasecollisions-treemanifest.t         2.4s
  [                    ] test-fb-hgext-copytrace.t                            2.4s
  [                    ] test-copytrace-heuristics.t                          2.4s
  [---------------->   ] test-check-execute.t                                 2.4s
  [----------->        ] test-fb-hgext-grpcheck.t                             2.4s
  [---->               ] test-treestate-needcheck.t                           2.4s
  [------------->      ] test-check-help.t                                    2.4s

I tracked it down to `hghave` crash with unknown svn-related features. The fix is
to protect the write with iolock. With thi spatch the progress bar now looks like:

  skipped: unknown feature: svn
  skipped: unknown feature: svn-bindings
  skipped: unknown feature: svn
  skipped: unknown feature: svn-bindings
  skipped: unknown feature: svn
  skipped: unknown feature: svn-bindings

  [                    ] 7 Passed. 0 Failed. 1 Skipped. 895 Remaining         2.9s
  [--->                ] test-contrib-perf.t                                  2.9s
  [--------->          ] test-check-code.t                                    2.9s
  [----------------->  ] test-check-config.t                                  2.9s
  [->                  ] test-run-tests.t                                     2.9s
  [------>             ] test-checkoutidentifier-commitinfo.t                 2.9s
  [----------------->  ] test-commitcloud-checkoutlocations-update.t          2.9s
  [-------->           ] test-checkserverbookmark.t                           2.9s
  [---------------->   ] test-checkoutidentifier-dirstateinfo.t               2.9s
  [---------->         ] test-debugcheckcasecollisions-treemanifest.t         2.9s
  [                    ] test-fb-hgext-copytrace.t                            2.9s
  [                    ] test-copytrace-heuristics.t                          2.9s
  [------------->      ] test-fb-hgext-grpcheck.t                             2.9s
  [----->              ] test-treestate-needcheck.t                           2.9s
  [----------------->  ] test-check-help.t                                    2.9s
  [----------->        ] test-commitcloud-smartlog.t                          2.9s
  [----------->        ] test-lfs-checksum.t                                  2.8s
  [-------->           ] test-progressfile.t                                  2.8s
  [-->                 ] test-dirstate-race.t                                 2.4s
  [->                  ] test-fb-hgext-copytrace-amend.t                      2.2s
  [                    ] test-help.t                                          1.9s

Reviewed By: singhsrb

Differential Revision: D18713921

fbshipit-source-id: 2897b2dda56a02842d8d88f31972156cf8f615ad
2019-11-27 00:24:06 -08:00
Anton Frolov
161179c4c6 Make it possible to compile openr through CMakeLists.txt
Summary:
This diff fixes `CMakeLists.txt` to enable building `openr` tests using CMake:
1. It adds `add_openr_test` CMake function that adds executable target, registers it as test, links it with bunch of libraries like GTest and GMock, etc...
2. There is no `openr/tests/OpenrModuleTestBase.cpp` anywhere in the source tree, so this commit replaces it with `openr/common/Flags.cpp`.

Reviewed By: jstrizich

Differential Revision: D18584028

fbshipit-source-id: 07d854ef98d0d2509889a08ad042a371101a2825
2019-11-27 00:24:06 -08:00
svcscm
fdc2c659d6 Updating submodules
Summary:
GitHub commits:

773f9a846f

Reviewed By: yns88

fbshipit-source-id: 7aa0725b3a2bfbc6d2f3b77d19fb4cf68def0cea
2019-11-27 00:24:06 -08:00
svcscm
fd38caf026 Updating submodules
Summary:
GitHub commits:

0086024d3d
2f7c20f354
8c2e7a19af
4a3187a386
669ea77d9f
af1433345b
21d23998f5
0618adf29b
6792ae95e1

Reviewed By: yns88

fbshipit-source-id: d3c9521b92f3e98422845f0f501e9ddd6b03a2bf
2019-11-23 02:06:54 -08:00
Jun Wu
ab6e41e651 continue: show a hint about how to resolve conflicted files
Summary:
"outstanding merge conflicts" is not a helpful message to inexperienced users.
Print out commands to get more context.

Reviewed By: simpkins

Differential Revision: D18535010

fbshipit-source-id: 035ec9f3d79bf04a997ee907469f2e3d749a1d0e
2019-11-22 21:22:45 -08:00
svcscm
e2322c1daf Updating submodules
Summary:
GitHub commits:

2f8ecdae2c
ece208412e
cc3f054a35
c37658a78b
338aae0406
eeb43886dd
35b0920f08
b4b4bfbb78
138558a062
d72a9d3ed8
e6934acc53

Reviewed By: yns88

fbshipit-source-id: ff0f762e9572daa3ded388c4dee89e95e1a383ca
2019-11-22 15:38:34 -08:00
Michael Devine
ad3d85038e Repo converter: Allow empty author/committer fields
Summary: Some commits in AOSP have empty fields for author/committer email addresses.

Reviewed By: tchebb

Differential Revision: D18661778

fbshipit-source-id: e975392da677879d598eb9fc77558251a55c2f23
2019-11-22 15:38:34 -08:00