fuse combines two snapshots using ManifestDB-based snapshot data and writes the result as a new snapshot.
On path conflicts, the left snapshot always wins across all entry types.
Usage
rinne fuse <left> <right> [-l <space>] [-r <space>] [-o <space>] [-m <message> | --message <message>]
Options
-l, --l-space <space>
Resolve <left> in the specified space. The default is the output space.
-r, --r-space <space>
Resolve <right> in the specified space. The default is the output space.
-o, --o-space <space>
Write the fused result to the specified output space. The default is the current space.
-m, --message <text>
Write a note to <id>/note.md. If omitted, an empty note.md is created.
Examples
Fuse the latest two snapshots in the current space
rinne fuse '@1' '@0' Fuse snapshots from different spaces into the current space
rinne fuse '@0' '@0' --l-space main --r-space experiment Fuse into another output space with a note
rinne fuse '@0' '@0' -l main -r experiment -o merged -m "Merge candidates"
Notes
- This command uses manifest.db only. manifest.json is not used.
- Fusing snapshots with different is_windows values is refused.