Commit Graph

73525 Commits

Author SHA1 Message Date
Michael Cuevas
c75d54ab68 let users know when they try to remove a non-existent directory
Summary: Typoing a path with `eden rm` would tell users that there isn't an existing checkout with that name. That can be confusing. Instead, we should be more specific and let users know when they typo'd

Reviewed By: kmancini

Differential Revision: D35690339

fbshipit-source-id: 8d2bae48d3bb3724cd6c1b4049af3df71c04a287
2022-04-27 00:06:24 -07:00
Michael Cuevas
df8b625c7f document potential race condition
Summary: We can potentially race if we try to update notificationStatus_ from outside the event thread. As long as we only try to update from within the single thread, we should be fine.

Reviewed By: kmancini

Differential Revision: D35514682

fbshipit-source-id: 0ee8baec6816cebf91fe4fe1c95f1156b5064a42
2022-04-27 00:06:24 -07:00
svcscm svcscm
6146489c8e Updating submodules
Summary:
GitHub commits:

ae1fc98fcd
cae8ab44ae
fadb58d704
928bffb3e4
2268484273
caea74936c

Reviewed By: jurajh-fb

fbshipit-source-id: d217c946aa3865e929119f66f8f746c30b9a91bb
2022-04-26 23:41:48 -07:00
svcscm svcscm
2111f9608f Updating submodules
Summary:
GitHub commits:

df3596c40a
dd5fdfe278
350bfc4cb5
b0aa21ab3e
08aee711fd
7809f1a8c5

Reviewed By: jurajh-fb

fbshipit-source-id: adf6c08166bafb3491c9bfd94bd32856676d287e
2022-04-26 23:05:41 -07:00
svcscm svcscm
7b5ca12866 Updating submodules
Summary:
GitHub commits:

32210a72de
9d0cae7104

Reviewed By: jurajh-fb

fbshipit-source-id: 2fb1d9427eef2a429a7115c1eefa986f198e1794
2022-04-26 22:35:26 -07:00
svcscm svcscm
26b2486e32 Updating submodules
Summary:
GitHub commits:

127c0dce7f
0e347354bc
244cf16b8d
d419403aca
820b71431e

Reviewed By: jurajh-fb

fbshipit-source-id: 5ec6ba83511535104b49323bd12c5c14e8532811
2022-04-26 21:26:09 -07:00
svcscm svcscm
27d204e400 Updating submodules
Summary:
GitHub commits:

a64893d5e8
b2716bfc7c
a27fa2a58e
3ecf426c11
56b3b20a65
7fb05e6334
d719c6d2bd

Reviewed By: jurajh-fb

fbshipit-source-id: 633cc27c51325e664060b3aabc75492e64e55fa1
2022-04-26 20:54:40 -07:00
svcscm svcscm
23ff33740b Updating submodules
Summary:
GitHub commits:

87a69261c2
ddae95ffcb
40db9a6ca5
ebb7b06ab1
eeed4428d6
56b46ceb37
6c69ccbd1f

Reviewed By: jurajh-fb

fbshipit-source-id: dcd04c6c2b30a7b8cb78e6f39be4a36aae5e076e
2022-04-26 20:25:17 -07:00
svcscm svcscm
fdfb2d2b3d Updating submodules
Summary:
GitHub commits:

d2c9be67ad
c32477b907
8ce7384ad8
1be7ce3567
d4204718a9
ce2d8a4239
eb2c7fb9f9
397e9e971b
acc534681e
2ef2868d52
b6987a4dcf

Reviewed By: jurajh-fb

fbshipit-source-id: 468e991b93a44579ef40a268fbdc2d5098ce7ce4
2022-04-26 19:56:41 -07:00
svcscm svcscm
2a10dcc2f4 Updating submodules
Summary:
GitHub commits:

e52f321645
105f5ec084
2a142bbe51
108d1fd0f1
f9df908c86
971a51a3c4
425a3c9097
e9fa2ea474
ec4af94ab9
63d7a3342b
e30ea5dc20

Reviewed By: jurajh-fb

fbshipit-source-id: 8b7bec15e76f60ea812f7eb12485b42e2f1e137e
2022-04-26 19:24:58 -07:00
svcscm svcscm
a50b83e037 Updating submodules
Summary:
GitHub commits:

10ad62ab79
9df9dd7a8f

Reviewed By: jurajh-fb

fbshipit-source-id: 33ce1bc6e70bde47b7d3654ee81e912e52864134
2022-04-26 18:59:03 -07:00
svcscm svcscm
f978618683 Updating submodules
Summary:
GitHub commits:

e40676d0ba
9bbc3ab044
600deb17a6
4593d6eb3d
a3a7c23e8b
dfb36cdd5e

Reviewed By: jurajh-fb

fbshipit-source-id: 85066905f5bbd83d0a1a2279e4f5a1ffe294b4f6
2022-04-26 18:26:42 -07:00
Aida Getoeva
a22a423199 mononoke/walker: move repo setup out of the setup.rs
Summary: `setup.rs` is going away, so let's move repo setup to its proper place

Reviewed By: yancouto

Differential Revision: D35540308

fbshipit-source-id: ee72c0ab7bf24a39902b74d0dfe054db56e439c1
2022-04-26 18:03:42 -07:00
svcscm svcscm
7a5f7bea7e Updating submodules
Summary:
GitHub commits:

1c2f2f7938

Reviewed By: jurajh-fb

fbshipit-source-id: 90bab069711b56f66242d6beeff9affa3b483c0c
2022-04-26 17:58:43 -07:00
svcscm svcscm
b33f6958fd Updating submodules
Summary:
GitHub commits:

e0b965672d
334a57a855
d88e9a6d96
3a8fa3143b
544f71ec97
342c20d165

Reviewed By: jurajh-fb

fbshipit-source-id: 799b598875c5e0bce9021fd977338245a299ccae
2022-04-26 16:50:45 -07:00
svcscm svcscm
7ca8094738 Updating submodules
Summary:
GitHub commits:

107ef0bce3

Reviewed By: jurajh-fb

fbshipit-source-id: bb4a57752af459dbbae38c0f384aeacd717fa449
2022-04-26 16:15:34 -07:00
svcscm svcscm
1b85131252 Updating submodules
Summary:
GitHub commits:

14e33970f5
a50ae08839
3ed7295027
645e5d7dbc
62deba763c
2eee879787

Reviewed By: jurajh-fb

fbshipit-source-id: b855ddbbe76e53a8682ecb0a9335585d059fa380
2022-04-26 15:46:24 -07:00
svcscm svcscm
91c660ca50 Updating submodules
Summary:
GitHub commits:

c0d55d0477
c5d367f472

Reviewed By: jurajh-fb

fbshipit-source-id: 79e4b6ebe14c4c70158018552ba440c4ec00873f
2022-04-26 15:14:13 -07:00
Saul Gutierrez
88fe25747e util: add create_dir_all_with_mode
Summary: Adds a function that creates a directory and all of its ancestors, and sets the selected mode for the created directory for Unix-like systems.

Differential Revision: D35832456

fbshipit-source-id: add61ec490395cb1ce7401824abb307450f84280
2022-04-26 15:11:09 -07:00
svcscm svcscm
a9a08305fc Updating submodules
Summary:
GitHub commits:

bcd995b771
d48004ad1a
225841f31e
18d2ae4f3e
b342557082
423cce1fd9
994872609f

Reviewed By: jurajh-fb

fbshipit-source-id: d9158119443675e6e3e5497072cd2f952dd90c26
2022-04-26 14:17:19 -07:00
Aida Getoeva
2bf3020dc5 mononoke/walker: delete old cmdlib walker setup
Summary: All of these were implemented using new clap.

Reviewed By: yancouto

Differential Revision: D35532738

fbshipit-source-id: a7262b1c905c198cf06140720371e9bfa8f20827
2022-04-26 14:14:45 -07:00
Aida Getoeva
6447f6bdc1 mononoke/walker: remove old integration tests
Summary: These "old" integration tests are basically duplicates of the new ones. Let's delete them and rename `mononoke_new_walker` as just `mononoke_walker`

Reviewed By: markbt, mitrandir77

Differential Revision: D35532373

fbshipit-source-id: c845f9770d1a3d74719a44a43b65f05a681a6371
2022-04-26 14:14:45 -07:00
svcscm svcscm
82f6bae354 Updating submodules
Summary:
GitHub commits:

6e8225d519
04a75afcad
4a16359069
867a3cd5bd
408281bf39
b08426ccd9
5c086fa2ba
1e686f4b22

Reviewed By: jurajh-fb

fbshipit-source-id: 1c518877bfed0c246273595264cbac0d6a844fa1
2022-04-26 13:43:47 -07:00
Michael Cuevas
b2ae3f9cc3 eden/{integration, fs, facebook}: switch to platform010
Summary:
We should all be migrating to platform010, for the improved performance of its
generated code and for its improved diagnostics/portability.

Reviewed By: kmancini

Differential Revision: D35851539

fbshipit-source-id: d42b12c77ddeacb4777f2e360fdebd1cbbc1bd6d
2022-04-26 13:22:33 -07:00
Michael Bolin
13312961a1 link subcommand for github extension
Summary:
With the `github` extension enabled, `hg link` associates pull request data
with a commit in the metalog. Note that nothing verifies that this
linkage exists on GitHub. Ultimately, `hg submit` will be required
to remap the commits within the actual pull request on GitHub.

I'm not sure what best practices are in terms of using flags
versus positional arguments in the CLI, but we can continue
to experiment with that, for now.

Reviewed By: quark-zju

Differential Revision: D35638199

fbshipit-source-id: f72514b13627a8ef845ffb99e6ae3c86098061cd
2022-04-26 13:19:29 -07:00
svcscm svcscm
f9290fd6d5 Updating submodules
Summary:
GitHub commits:

f8eb1ba726
2d9ba240f9
6c4c0739ca
04cadaef1c
31477ebb84
c82df034a3
773361d04a
5f11d07ed5
b294367ec4
a2833c813c

Reviewed By: jurajh-fb

fbshipit-source-id: 0d24bbdfd4eef58524c35ae63ddc8d436057ebf5
2022-04-26 13:14:35 -07:00
svcscm svcscm
1ced4fd71d Updating submodules
Summary:
GitHub commits:

17eadcc25b
145d5f6e1e
8904516d3d
becc4300dc
f3acbca0f7
dad50ff4b5
03988711b5
cd9608d665
c17cbad05a
6070c0c250
0c71d00c60
9b49f2edf6

Reviewed By: jurajh-fb

fbshipit-source-id: 44dfe17a97afbe2aeb755e8af0b38ff440863e00
2022-04-26 12:44:17 -07:00
svcscm svcscm
75171244da Updating submodules
Summary:
GitHub commits:

7e02fe45f6
52a399fee9
86a96824af
0a60b37736
9e21511ae9
ff7fb97eb7
75d737c059
5461e55e4f
b008ace2fa
72ed2ecc95
8efb28a025
532b647971
830f4083ff
72c0c697c3

Reviewed By: jurajh-fb

fbshipit-source-id: c09dd560535f8411c2e142db684e4f931c5abbf0
2022-04-26 12:15:23 -07:00
svcscm svcscm
416bada13f Updating submodules
Summary:
GitHub commits:

197fc0a53c
08aa970388

Reviewed By: jurajh-fb

fbshipit-source-id: 00ecb8c571632a9ed6a0c705f5b5389d0cf8d5de
2022-04-26 11:47:09 -07:00
Victor Zverovich
d73bb46505 Remove flex from thrift dependencies
Summary: Thrift no longer depends on flex. Update the fbcode builder manifest accordingly.

Reviewed By: thedavekwon

Differential Revision: D35907980

fbshipit-source-id: c5f23542967339c1dadb805ad11816a2982fe4f7
2022-04-26 11:40:41 -07:00
David Tolnay
84f0cdff56 third-party/rust: Update pin-project from 0.4.28 to 0.4.29
Summary: Version 0.4.28 had some misguided use of glob imports which is blocking updating other crates.

Reviewed By: zertosh, lei2022

Differential Revision: D35936373

fbshipit-source-id: 011a703bde19482e9450b00f91cb0836d434c502
2022-04-26 10:56:15 -07:00
svcscm svcscm
35e28a94d8 Updating submodules
Summary:
GitHub commits:

1674c3d48e
110c325f08
57ca255c89
45c0a93f98
446ede9077

Reviewed By: jurajh-fb

fbshipit-source-id: a21d1f2e96fdffa430432ca1c25f57f2c6abbcc2
2022-04-26 06:14:38 -07:00
Mateusz Kwapich
d8e7842410 make segmented changelog manager a facet
Summary:
The repo factory is the place where we have all elements needed for
instantiating a segmented changelog manager. Let's add that as an option.

It's going to be useful for some specialized binaries that don't just want to
query the segmented changelog but want to understand what version of SC do we
currently store an to be able to reload SC at will.

Reviewed By: quark-zju

Differential Revision: D35744722

fbshipit-source-id: 37f9dc4b5750b48212be1bffbdae189341fb2a06
2022-04-26 05:56:48 -07:00
Mateusz Kwapich
073e1a5da8 function for checking if segmented changelog has certain commit indexed
Summary:
This can be used by slow bookmark mover to check if the certain commits were indexed by segmented changelog.

The current implementation has to instantiate the SC but in the future we don't need to do it.

Reviewed By: farnz

Differential Revision: D35744724

fbshipit-source-id: d694a135db0b9af6493477b31d7c1e4277471e8c
2022-04-26 05:56:48 -07:00
Mateusz Kwapich
60e2ca6c55 extract the segmented changelog manager creation to separate function
Summary:
I'm planning to create manager separately so let's split that part to separate
function.

refactor_time

Reviewed By: yancouto

Differential Revision: D35744723

fbshipit-source-id: 85e168626a9ed4d0085bf425666220c91d418f1a
2022-04-26 05:56:48 -07:00
Mateusz Kwapich
3547771f16 integration test showcasing current slow bookmarks mover behaviour
Summary:
This binary wasn't covered by any tests before.

Note: For this test I had to allow the mononoke hg sync job to act on bookmark moves
created by tests. I think that's fine (we don't have any in production - if we
had the bundle preprarer would be erroring out on them).

Reviewed By: yancouto

Differential Revision: D35648045

fbshipit-source-id: dae3dd89eeaf3c775e5046518a99b755923aff8a
2022-04-26 05:56:48 -07:00
svcscm svcscm
781760c126 Updating submodules
Summary:
GitHub commits:

df33467621
15976da0ce
9ec30590ac
ff84800408
bd660961c1
fe1b54a0a0
0385e758f3
7e8a7193c7

Reviewed By: jurajh-fb

fbshipit-source-id: 395044eec5c18493930fdcf02167dd89b115537f
2022-04-26 05:44:17 -07:00
svcscm svcscm
adbf4e6322 Updating submodules
Summary:
GitHub commits:

88d2d9fd2b
7b91ce96ac
3b6be9f525
9e4d4cdaa2
bcfe462b49
0468a1823a
e46b0d4f31
86ef1253e5
2e85f355bf
d46d19e462

Reviewed By: jurajh-fb

fbshipit-source-id: 987f00d69e1c2b2fda3428092e9b83be5c752d85
2022-04-26 05:19:52 -07:00
svcscm svcscm
d8058aa477 Updating submodules
Summary:
GitHub commits:

c3d8c53b38
958b026d48
94b578bc43
150e88de69
a1c206cbd1
12a7c89c90
bfffb14302
722e7d0547
514b6f0a4e
26870d5d42
f5fad75324
0df801c826

Reviewed By: jurajh-fb

fbshipit-source-id: c8bfb16c3c8f2412179468608ad5be3cf8e0a667
2022-04-26 04:19:41 -07:00
svcscm svcscm
d7ebff018d Updating submodules
Summary:
GitHub commits:

f4f9d114ae
ad877a05eb
5657e6953a
e4230d1a37
ddbab08394
6be9c35a63
46b5658ae9

Reviewed By: jurajh-fb

fbshipit-source-id: 151864777dfb9577d029d5440b9086a216fa8c5a
2022-04-26 03:42:16 -07:00
svcscm svcscm
ca6c0937e0 Updating submodules
Summary:
GitHub commits:

de818fda85

Reviewed By: jurajh-fb

fbshipit-source-id: 7ae55f55dfeec95675caa43862c8f47ae8de6f65
2022-04-26 02:34:14 -07:00
svcscm svcscm
f09c7b986a Updating submodules
Summary:
GitHub commits:

2496d48128
f92c46cd97
c3ea62cfa3
0694e77a1d
d750997672
b16f6adfe3

Reviewed By: jurajh-fb

fbshipit-source-id: b9e5fa62ffb0aef2bc1e89d4b41f176ace2a121b
2022-04-26 01:38:12 -07:00
svcscm svcscm
e49b56d6cb Updating submodules
Summary:
GitHub commits:

89cf115d2b
e067a18398
d01bd607c6
5ba4b51b33
19cb9c616b
cc99a2382b
93f9ac24a9

Reviewed By: jurajh-fb

fbshipit-source-id: b666d7be3127395f70a65e72e584aaf8fd55448b
2022-04-26 01:05:22 -07:00
svcscm svcscm
ee547e3876 Updating submodules
Summary:
GitHub commits:

48bad35726
a1f47aa558
59948e6163
1e2b737aa0
38b91a7090
43cb8d62f0
178074c87c
658136a1fe
d2cb93fabe
424b563bb3

Reviewed By: jurajh-fb

fbshipit-source-id: b458ea00fb7905df1e8b12b511b127c1273ebc7e
2022-04-26 00:38:58 -07:00
svcscm svcscm
51f87e59d3 Updating submodules
Summary:
GitHub commits:

8b15fd790f
57f1262ffc
067785745d
2718ed4b23
2d0eeb84c1
8c2fb39934
83027e6f32
412172c5e7
131e767741
494c4b05fa
d6f1714d10
b844d58a57
aa1eefd6d9

Reviewed By: jurajh-fb

fbshipit-source-id: a2b3b73b71b1993419c099364449323e4308d84b
2022-04-26 00:03:51 -07:00
svcscm svcscm
ef9cc1640d Updating submodules
Summary:
GitHub commits:

87955a5402
85eb9f2169
a1bc6adfbd
9c527b540c
39ac625282
f00cb13ed6

Reviewed By: jurajh-fb

fbshipit-source-id: ee700a3df1b89ed515a07502633cae7fec587eae
2022-04-25 23:37:24 -07:00
Lei Shi
4449f2d068 bump up solana crate versions and fix a bunch of related crates
Summary:
allow-large-files

Upgrading async-compression with a patch because they are using old versions of zstd (renamed to libzstd in their dependencies) and zstd-safe

Updated aes-gcm-siv and curve25519-dalek too. Please refer to inline comments. Here is how I pinned the crate:

- git clone the repo
- git checkout the tag
- make changes
- git push -f origin HEAD:master
- use the commit hash and your forked repo to update cargo.toml

Reviewed By: wqfish

Differential Revision: D35585200

fbshipit-source-id: 70c51bf1902c6eaf72004a49bc2be9eaf782e360
2022-04-25 23:16:11 -07:00
svcscm svcscm
fec4c5389a Updating submodules
Summary:
GitHub commits:

3e872a2e5a
0da9354ba8
33b4fa1190
19e1637fb1
3653029dda
8fbca6e81a
d16a456570
afdb3d165e
5e32b3c20d

Reviewed By: jurajh-fb

fbshipit-source-id: a19df61d190c355130ad75a51b43d419bb2147a2
2022-04-25 23:07:15 -07:00
svcscm svcscm
44644128c9 Updating submodules
Summary:
GitHub commits:

39c3456b66

Reviewed By: jurajh-fb

fbshipit-source-id: 168b3ccbe31e1aec0ac0681c3e2e6d694d0e69ce
2022-04-25 21:56:00 -07:00
Zeyi (Rice) Fan
fc5f91a30e cli: do not start if the current daemon is already starting
Summary:
When EdenFS is starting, `eden start` will attempt to start another EdenFS daemon then it will get a flock error.

On Windows, sometimes we saw a long EdenFS startup process, and this behavior misleads people to think they are not able to start EdenFS.

Reviewed By: xavierd

Differential Revision: D35799954

fbshipit-source-id: 5f58e3ad89962f61d233f962a3e464fe55a9cd8b
2022-04-25 21:36:06 -07:00