// parent it's a VH
VersionHistoryDataHelper historyHelper =
new VersionHistoryDataHelper(vh, dmanager, session.getWorkspace().getNodeTypesHolder());
SessionChangesLog changesLog = restoreLog(destParent, name, historyHelper, restoreSession, removeExisting, null);
dmanager.save(changesLog);
}
public boolean isSuccessorOrSameOf(VersionImpl anotherVersion) throws RepositoryException
{
Version[] prds = getPredecessors();