this.rsFrom = rsFrom;
this.rsTo = rsTo;
}
public void start() throws Exception {
commits.clear();
<BUG>firstCommitId = rsTo.getHeadCommitId().toString();
MutableCommit commitTo = copy(rsFrom.getHeadCommit());
commitTo.setParentId(rsTo.getHeadCommitId().toString());
Id revId = rsTo.putCommit(commitTo);</BUG>
rsTo.setHeadCommitId(revId);

this.rsFrom = rsFrom;
this.rsTo = rsTo;
}
public void start() throws Exception {
commits.clear();
firstCommitId = rsTo.getHeadCommitId();
MutableCommit commitTo = copy(rsFrom.getHeadCommit());
commitTo.setParentId(rsTo.getHeadCommitId());
Id revId = rsTo.putCommit(commitTo);
rsTo.setHeadCommitId(revId);
