Package jetbrains.vcs.api.services
Interface IncrementalPatchService
-
- All Superinterfaces:
VcsRemoteService
,VcsService
- All Known Implementing Classes:
IncrementalPatchServiceImpl
public interface IncrementalPatchService extends VcsService, VcsRemoteService
Vcs plugin service to build incremental patch (move all changes from version to version) SeeCleanPatchService
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
buildIncrementalPatch(LowLevelPatchBuilder builder, String fromRevision, String toRevision)
Creates an incremental patch from a given revision to a given revision
-
-
-
Method Detail
-
buildIncrementalPatch
void buildIncrementalPatch(@NotNull LowLevelPatchBuilder builder, @NotNull String fromRevision, @NotNull String toRevision) throws VcsException, IOException
Creates an incremental patch from a given revision to a given revision- Parameters:
builder
- patch builder. Implementation will callLowLevelPatch.exit(String)
orLowLevelPatch.fail(String)
prior toLowLevelPatchBuilder.close()
fromRevision
- revision to start fromtoRevision
- revision to end with- Throws:
VcsException
- on errorIOException
- on error
-
-