From d27170e75fe09ca428951b2851a68c0d06fb12fc Mon Sep 17 00:00:00 2001 From: Patrick More Date: Tue, 1 Sep 2020 11:56:36 -0700 Subject: [PATCH] Modified the fossil repo initialization function to run the commands to set the target directory as ignoreable and cleanable. --- src/cargo/util/vcs.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cargo/util/vcs.rs b/src/cargo/util/vcs.rs index 96d934a5dc2..6a66870c8f6 100644 --- a/src/cargo/util/vcs.rs +++ b/src/cargo/util/vcs.rs @@ -91,12 +91,16 @@ impl FossilRepo { .cwd(cwd) .arg("settings") .arg("ignore-glob") - .arg("target"); + .arg("target") + .exec()?; + process("fossil") .cwd(cwd) .arg("settings") .arg("clean-glob") - .arg("target"); + .arg("target") + .exec()?; + Ok(FossilRepo) } }