vHistory.addVersionLabel(rootVersion.getName(), versionLabel, false);
try {
VersionManager versionManager = versionableNode.getSession().getWorkspace().getVersionManager();
String path = versionableNode.getPath();
versionManager.checkout(path);
Version v = versionManager.checkin(path);
vHistory.addVersionLabel(v.getName(), versionLabel, true);
if (!vHistory.hasVersionLabel(v, versionLabel)) {
fail("If 'moveLabel' is true, an existing version label must be moved to the indicated version.");
}