mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
mononoke: fix phases mononoke admin
Summary: It was failing because caching was not initialized. This diff fixes it Reviewed By: mitrandir77 Differential Revision: D26374106 fbshipit-source-id: 7481c145c56db9080e065908a4b5e9b136a18317
This commit is contained in:
parent
cf9c8bf29f
commit
5eccc41cef
@ -93,8 +93,8 @@ pub async fn subcommand_phases<'a>(
|
||||
matches: &'a MononokeMatches<'a>,
|
||||
sub_m: &'a ArgMatches<'a>,
|
||||
) -> Result<(), SubcommandError> {
|
||||
let repo = args::open_repo(fb, &logger, &matches).await?;
|
||||
args::init_cachelib(fb, &matches);
|
||||
let repo = args::open_repo(fb, &logger, &matches).await?;
|
||||
let ctx = CoreContext::new_with_logger(fb, logger.clone());
|
||||
|
||||
match sub_m.subcommand() {
|
||||
|
Loading…
Reference in New Issue
Block a user