public class TestRepository.BranchBuilder extends Object
Modifier and Type | Method and Description |
---|---|
TestRepository.CommitBuilder |
commit() |
void |
delete()
Delete this branch.
|
RevCommit |
update(RevCommit to)
Forcefully update this branch to a particular commit.
|
RevCommit |
update(TestRepository.CommitBuilder to)
Forcefully update this branch to a particular commit.
|
public TestRepository.CommitBuilder commit() throws Exception
Exception
- the commit builder can't read the current branch statepublic RevCommit update(TestRepository.CommitBuilder to) throws Exception
to
- the commit to update to.to
.Exception
public RevCommit update(RevCommit to) throws Exception
to
- the commit to update to.to
.Exception
Copyright © 2020 Eclipse JGit Project. All rights reserved.