mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
mononoke: use cloned in blobrepo
Summary: Also make it possible to have mutable clones Reviewed By: farnz Differential Revision: D8889900 fbshipit-source-id: 77d304ec5e07c84398e328b361ebf062cd18de45
This commit is contained in:
parent
08dd810568
commit
74783f77d8
@ -6,6 +6,8 @@
|
||||
|
||||
#![deny(warnings)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate cloned;
|
||||
#[macro_use]
|
||||
extern crate failure_ext as failure;
|
||||
#[macro_use]
|
||||
|
@ -1110,9 +1110,7 @@ impl CreateChangeset {
|
||||
.join(parents_data)
|
||||
.from_err()
|
||||
.and_then({
|
||||
let filenodes = repo.filenodes.clone();
|
||||
let blobstore = repo.blobstore.clone();
|
||||
let mut scuba_logger = scuba_logger.clone();
|
||||
cloned!(repo.filenodes, repo.blobstore, mut scuba_logger);
|
||||
let expected_files = self.expected_files;
|
||||
let cs_metadata = self.cs_metadata;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user