Skip to main content

rename_revs

Function rename_revs 

Source
fn rename_revs<T: Storage>(
    store: &mut Store<T>,
    wanted: &Tags,
    by: &Identity,
) -> Result<(), PrefixFailure>
Expand description

Make the saved container call its revs what wanted calls them.

Two directions, because the copied rows can be wrong either way: a name given after the cut is missing from them, and a name taken off after the cut is still in them. Both are one appended tag row, which is what a tag has always been.