Skip to main content

move_upstream_changes_to_patch

Function move_upstream_changes_to_patch 

Source
pub fn move_upstream_changes_to_patch<T, U>(
    local_tree: &T,
    basis_tree: &U,
    subpath: &Path,
    patch_name: &str,
    description: &str,
    dirty_tracker: Option<&mut DirtyTreeTracker>,
    timestamp: Option<NaiveDate>,
) -> Result<(Vec<PathBuf>, String), String>
where T: PyWorkingTree, U: PyTree,
Expand description

Move upstream changes to patch.

ยงArguments

  • local_tree - Local tree
  • basis_tree - Basis tree
  • subpath - Subpath
  • patch_name - Suggested patch name
  • description - Description