export_refs

Function export_refs 

Source
pub fn export_refs(
    mut_repo: &mut MutableRepo,
) -> Result<GitExportStats, GitExportError>
Expand description

Export changes to bookmarks and tags made in the Jujutsu repo compared to our last seen view of the Git repo in mut_repo.view().git_refs().

We ignore changed refs that are conflicted (were also changed in the Git repo compared to our last remembered view of the Git repo). These will be marked conflicted by the next jj git import.

New/updated tags are exported as Git lightweight tags.