|
|
|
@ -915,6 +915,10 @@ public class TestRepository<R extends Repository> {
|
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public List<RevCommit> parents() { |
|
|
|
|
return Collections.unmodifiableList(parents); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CommitBuilder noParents() { |
|
|
|
|
parents.clear(); |
|
|
|
|
return this; |
|
|
|
@ -965,6 +969,10 @@ public class TestRepository<R extends Repository> {
|
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public String message() { |
|
|
|
|
return message; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CommitBuilder tick(int secs) { |
|
|
|
|
tick = secs; |
|
|
|
|
return this; |
|
|
|
@ -981,11 +989,19 @@ public class TestRepository<R extends Repository> {
|
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public PersonIdent author() { |
|
|
|
|
return author; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CommitBuilder committer(PersonIdent c) { |
|
|
|
|
committer = c; |
|
|
|
|
return this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public PersonIdent committer() { |
|
|
|
|
return committer; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public CommitBuilder insertChangeId() { |
|
|
|
|
insertChangeId = true; |
|
|
|
|
return this; |
|
|
|
|