Skip to content

Commit

Permalink
Auto merge of #8671 - pjmore:master, r=alexcrichton
Browse files Browse the repository at this point in the history
Fixed the fossil repo initialization actually run commands

I noticed that when using fossil cargo new would not ignore the target directory and that the commands to do so weren't being executed. I wasn't sure if opening an issue was needed as the fix is extremely simple, if an issue is needed I can create one.
  • Loading branch information
bors committed Sep 1, 2020
2 parents 2ab080c + d27170e commit 99eb3fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/cargo/util/vcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 99eb3fd

Please sign in to comment.