summaryrefslogtreecommitdiff
path: root/plugins/svn4idea/src/org/jetbrains/idea/svn/integrate/MergeClient.java
blob: d32ea2951cd0ea76c275e8732ea470ffa42b8007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package org.jetbrains.idea.svn.integrate;

import com.intellij.openapi.vcs.VcsException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.idea.svn.api.Depth;
import org.jetbrains.idea.svn.api.ProgressTracker;
import org.jetbrains.idea.svn.api.SvnClient;
import org.jetbrains.idea.svn.diff.DiffOptions;
import org.tmatesoft.svn.core.wc.SVNRevisionRange;
import org.tmatesoft.svn.core.wc2.SvnTarget;

import java.io.File;

/**
 * @author Konstantin Kolosovsky.
 */
public interface MergeClient extends SvnClient {

  void merge(@NotNull SvnTarget source,
             @NotNull File destination,
             boolean dryRun,
             @Nullable DiffOptions diffOptions,
             @Nullable ProgressTracker handler) throws VcsException;

  void merge(@NotNull SvnTarget source,
             @NotNull SVNRevisionRange range,
             @NotNull File destination,
             @Nullable Depth depth,
             boolean dryRun,
             boolean recordOnly,
             boolean force,
             @Nullable DiffOptions diffOptions,
             @Nullable ProgressTracker handler) throws VcsException;

  void merge(@NotNull SvnTarget source1,
             @NotNull SvnTarget source2,
             @NotNull File destination,
             @Nullable Depth depth,
             boolean useAncestry,
             boolean dryRun,
             boolean recordOnly,
             boolean force,
             @Nullable DiffOptions diffOptions,
             @Nullable ProgressTracker handler) throws VcsException;
}