jetbrains.vcs.api.services
Interface IncrementalPatchService

All Superinterfaces:
VcsRemoteService, VcsService

public interface IncrementalPatchService
extends VcsService, VcsRemoteService

Vcs plugin service to build incremental patch (move all changes from version to version)

See CleanPatchService in case you need to implement clean checkout first

Created 22.10.12 12:48

Since:
8.0
Author:
Eugene Petrenko (eugene.petrenko@jetbrains.com)

Method Summary
 void buildIncrementalPatch(LowLevelPatchBuilder builder, java.lang.String fromRevision, java.lang.String toRevision)
          Creates an incremental patch from a given revision to a given revision
 

Method Detail

buildIncrementalPatch

void buildIncrementalPatch(@NotNull
                           LowLevelPatchBuilder builder,
                           @NotNull
                           java.lang.String fromRevision,
                           @NotNull
                           java.lang.String toRevision)
                           throws VcsException,
                                  java.io.IOException
Creates an incremental patch from a given revision to a given revision

Parameters:
builder - patch builder. Implementation will call LowLevelPatch.exit(String) or LowLevelPatch.fail(String) prior to LowLevelPatchBuilder.close()
fromRevision -
toRevision -
Throws:
VcsException - on error
java.io.IOException - on error