key("ts").value(commit.getCommitTS()).
key("msg").value(commit.getMsg());
if (commit.getBranchRootId() != null) {
commitBuff.key("branchRootId").value(commit.getBranchRootId().toString());
}
commitBuff.key("changes").value(diff).endObject();
}
return commitBuff.endArray().toString();
}
public String diff(String fromRevision, String toRevision, String path, int depth) throws MicroKernelException {