Skip to content

Commit 02fbf66

Browse files
authored
fix vcs init for Fossil project
1 parent 63231f4 commit 02fbf66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ fn init_vcs(path: &Path, vcs: VersionControl, config: &Config) -> CargoResult<()
524524
}
525525
}
526526
VersionControl::Fossil => {
527-
if path.join(".fossil").exists() {
527+
if !path.join(".fossil").exists() {
528528
FossilRepo::init(path, config.cwd())?;
529529
}
530530
}

0 commit comments

Comments
 (0)