(
repo: &Repository,
working_copy: WorkingCopyId,
git: &GitRepository,
target_ref: &str,
commit: Oid,
)
| 1770 | } |
| 1771 | |
| 1772 | fn update_target_branch( |
| 1773 | repo: &Repository, |
| 1774 | working_copy: WorkingCopyId, |
| 1775 | git: &GitRepository, |
| 1776 | target_ref: &str, |
| 1777 | commit: Oid, |
| 1778 | ) -> CliResult<()> { |
| 1779 | journal_and_move_branch( |
| 1780 | repo, |
| 1781 | working_copy, |
| 1782 | git, |
| 1783 | target_ref, |
| 1784 | commit, |
| 1785 | "atomic shim switch", |
| 1786 | ) |
| 1787 | } |
| 1788 | |
| 1789 | fn import_git_to_atomic(root: &Path) -> CliResult<()> { |
| 1790 | import_git_to_atomic_budgeted(root, ReconcileEffectBudget::Command) |
no test coverage detected