Skip to content

Commit

Permalink
fix vcs init for Fossil project
Browse files Browse the repository at this point in the history
  • Loading branch information
collin5 authored Mar 29, 2019
1 parent 63231f4 commit 02fbf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ fn init_vcs(path: &Path, vcs: VersionControl, config: &Config) -> CargoResult<()
}
}
VersionControl::Fossil => {
if path.join(".fossil").exists() {
if !path.join(".fossil").exists() {
FossilRepo::init(path, config.cwd())?;
}
}
Expand Down

0 comments on commit 02fbf66

Please sign in to comment.