Add debug output to Store::save_to

This commit is contained in:
Matthias Beyer 2017-06-04 19:13:06 +02:00
parent fc854f3647
commit e157a906bd

View file

@ -588,6 +588,7 @@ impl Store {
/// Save a copy of the Entry in another place /// Save a copy of the Entry in another place
pub fn save_to(&self, entry: &FileLockEntry, new_id: StoreId) -> Result<()> { pub fn save_to(&self, entry: &FileLockEntry, new_id: StoreId) -> Result<()> {
debug!("Saving '{}' to '{}'", entry.get_location(), new_id);
self.save_to_other_location(entry, new_id, false) self.save_to_other_location(entry, new_id, false)
} }