aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/delta.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/delta.rs')
-rw-r--r--src/remake/delta.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remake/delta.rs b/src/remake/delta.rs
index 638231c..6864c4d 100644
--- a/src/remake/delta.rs
+++ b/src/remake/delta.rs
@@ -242,8 +242,8 @@ fn replay_path(
// Replacing an ancestor of the protocol metadata as a whole would clobber it; replay
// its children one by one instead.
if contains_protocol_path(path) {
- let mut keys = store::keys_at(src, path).unwrap_or_default();
- keys.extend(store::keys_at(dst, path).unwrap_or_default());
+ let mut keys = store::keys_at(src, path).ok().flatten().unwrap_or_default();
+ keys.extend(store::keys_at(dst, path).ok().flatten().unwrap_or_default());
keys.sort();
keys.dedup();
for key in keys {