---
name: "SVK::Merge"
section: "3pm"
platform: "linux"
package: "svk"
version: "2.0.2-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/SVK::Merge"
---

# SVK::Merge(3pm)

SVK::Merge - Merge context class

```
  use SVK::Merge;
  SVK::Merge->auto (repos => $repos, src => $src, dst => $dst)->run ($editor, %cb);
```

The `"SVK::Merge"` class is for representing merge contexts, mainly including what delta is used for this merge, and what target the delta applies to. Given the 3 SVK::Path objects: `"SVK::Merge"` will be applying *delta* (`"base"`, `"src"`) to `"dst"`.\
 **new** Takes parameters the usual way.\
 **auto** Like new, but the `"base"` object will be found automatically as the nearest ancestor of `"src"` and `"dst"`. Return a string about how the merge is done. Given the storage editor and SVK::Editor::Merge callbacks, apply the merge to the storage editor. Returns the number of conflicts. Document the merge and ticket tracking mechanism. SVK::Editor::Merge, SVK::Command::Merge, Star-merge from GNU Arch
