equal
deleted
inserted
replaced
168 filename: &Path, |
168 filename: &Path, |
169 check_ambig: bool, |
169 check_ambig: bool, |
170 ) -> Result<hg::vfs::AtomicFile, HgError> { |
170 ) -> Result<hg::vfs::AtomicFile, HgError> { |
171 self.inner_open(filename, true, false, true, true).map( |
171 self.inner_open(filename, true, false, true, true).map( |
172 |(fp, temp_name)| { |
172 |(fp, temp_name)| { |
173 hg::vfs::AtomicFile::new( |
173 hg::vfs::AtomicFile::from_file( |
174 fp, |
174 fp, |
175 check_ambig, |
175 check_ambig, |
176 temp_name.expect("temp name should exist"), |
176 temp_name.expect("temp name should exist"), |
177 filename.to_owned(), |
177 filename.to_owned(), |
178 ) |
178 ) |