forked from mirrors/jj
If RefTarget is migrated to new Conflict type, this function will create RefTarget(Conflict::resolved(Some(id))). We still need some .unwrap() to insert Option<RefTarget> into map, but maps will be changed to store new RefTarget type, and their mutation API will guarantee that Conflict::resolved(None) is eliminated. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |