From f1b69574c459080f96bfb726de55e7cd70b82258 Mon Sep 17 00:00:00 2001 From: aaron-jack-manning Date: Fri, 9 Sep 2022 11:18:49 +1000 Subject: [PATCH] changes to ignore in accordance with stable serialization --- src/vcs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vcs.rs b/src/vcs.rs index 6f9a3b3..3aa7d66 100755 --- a/src/vcs.rs +++ b/src/vcs.rs @@ -27,14 +27,14 @@ pub fn command(args : Vec, vcs : Vcs, vault_folder : &path::Path) -> Res } pub fn create_gitignore(vault_folder : &path::Path) -> Result<(), error::Error> { - Ok(fs::write(vault_folder.join(".gitignore"), "state.toml\ntemp.toml\ntemp.md")?) + Ok(fs::write(vault_folder.join(".gitignore"), "temp.toml\ntemp.md")?) } pub fn set_svn_ignore(vault_folder : &path::Path) -> Result<(), error::Error> { let mut child = process::Command::new("svn") .current_dir(vault_folder) - .args(&["propset", "svn:ignore", "state.toml\ntemp.toml\ntemp.md", "."]) + .args(&["propset", "svn:ignore", "temp.toml\ntemp.md", "."]) .spawn()?; let _ = child.wait()?;