Commit Graph

5 Commits

Author SHA1 Message Date
Stanislau Hlebik
60c09b8a0c mononoke: do not change timezone during pushrebase
Summary: That matches mercurial pushrebase behaviour.

Reviewed By: ikostia

Differential Revision: D14149754

fbshipit-source-id: 66c0d09e78a21f2f308aba4d334c2db3118cfe9f
2019-02-21 05:47:31 -08:00
Lukas Piatkowski
5d9a151d85 mononoke: pass CoreContext down to blobstore
Reviewed By: jsgf

Differential Revision: D13324220

fbshipit-source-id: af7a2a650338ea66e504ea0acae1d103af10f8e3
2018-12-04 11:40:15 -08:00
Lukas Piatkowski
14636545aa mononoke: pass CoreContext down to changesets
Reviewed By: StanislavGlebik

Differential Revision: D13277448

fbshipit-source-id: 6e9a8dac77af8ab991005d14f654e315c234fe44
2018-11-30 10:14:22 -08:00
Stanislau Hlebik
786e58c2e2 mononoke: move test utils to a separate library
Summary: It will be useful outside of pushrebase library as well

Reviewed By: farnz

Differential Revision: D9789811

fbshipit-source-id: c851df8a8cce8b1c26daa09b7fe2ffa40f290160
2018-09-13 06:08:27 -07:00
Stanislau Hlebik
62bf1ee5b5 mononoke: add simple utility to generate dependencies in TARGETS files
Summary:
Manually adding all the dependencies in the TARGETS file is quite annoying. This simple tool does it for you!
It queries buck to get list of files for the target, and also queries all the rust_library mononoke dependencies.
Then it parses source files and generates TARGETS list.

Tool is super-simple and that's why it's not always correct (for example, it fails to find a deps if hasn't been used in mononoke before), but it works good enough for many use-cases (see test plan).

Reviewed By: lukaspiatkowski

Differential Revision: D5861828

fbshipit-source-id: ab8cc96d8bc394af172ee09da3aceb0ffb7493e8
2017-09-20 04:19:45 -07:00