Structs§
- Commit
Rewriter - Helps rewrite a commit.
- Commit
With Selection - Computed
Move Commits - Duplicate
Commits Stats - Move
Commits Location - Target and destination commits to be rebased by
move_commits()
. - Move
Commits Stats - Rebase
Options - Controls the configuration of a rebase.
- Rewrite
Refs Options - Configuration for
MutableRepo::update_rewritten_references()
. - Squashed
Commit - Resulting commit builder and stats to be returned by
squash_commits()
.
Enums§
Functions§
- compute_
move_ commits - duplicate_
commits - Duplicates the given
target_commit_ids
onto a new location in the graph. - duplicate_
commits_ onto_ parents - Duplicates the given
target_commits
onto their original parents or other duplicated commits. - find_
duplicate_ divergent_ commits - Find divergent commits from the target that are already present with identical contents in the destination. These commits should be able to be safely abandoned.
- merge_
commit_ trees - Merges
commits
and tries to resolve any conflicts recursively. - merge_
commit_ trees_ no_ resolve_ without_ repo - Merges
commits
without attempting to resolve file conflicts. - move_
commits - Moves
loc.target
commits from their current location to a new location in the graph. - rebase_
commit - rebase_
commit_ with_ options - rebase_
to_ dest_ parent - Moves changes from
sources
to thedestination
parent, returns new tree. - restore_
tree - Restore matching paths from the source into the destination.
- squash_
commits - Squash
sources
intodestination
and return aSquashedCommit
for the resulting commit. Caller is responsible for setting the description and finishing the commit.