changes to ignore in accordance with stable serialization
This commit is contained in:
parent
8a6d4b18cb
commit
f1b69574c4
@ -27,14 +27,14 @@ pub fn command(args : Vec<String>, 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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user