Package org.omegat.core.team2
Class RebaseAndCommit
java.lang.Object
org.omegat.core.team2.RebaseAndCommit
Core for rebase and commit files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classInfo about prepared file. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcommitPrepared(RebaseAndCommit.Prepared prep, RemoteRepositoryProvider provider, @Nullable String possibleHeadVersion) Commit later.static RebaseAndCommit.Preparedprepare(RemoteRepositoryProvider provider, File projectDir, String path) Load BASE and HEAD from remote repository into temp storage for future rebase.static voidrebaseAndCommit(RebaseAndCommit.Prepared prep, RemoteRepositoryProvider provider, File projectDir, String path, RebaseAndCommit.IRebase rebaser)
-
Field Details
-
VERSION_PREFIX
- See Also:
-
-
Method Details
-
prepare
public static RebaseAndCommit.Prepared prepare(RemoteRepositoryProvider provider, File projectDir, String path) throws Exception Load BASE and HEAD from remote repository into temp storage for future rebase.- Throws:
Exception
-
rebaseAndCommit
public static void rebaseAndCommit(RebaseAndCommit.Prepared prep, RemoteRepositoryProvider provider, File projectDir, String path, RebaseAndCommit.IRebase rebaser) throws Exception - Throws:
Exception
-
commitPrepared
public static String commitPrepared(RebaseAndCommit.Prepared prep, RemoteRepositoryProvider provider, @Nullable @Nullable String possibleHeadVersion) throws Exception Commit later.- Throws:
Exception
-