if (mk.nodeExists(MOUNT, head)) {
String mounts = mk.getNodes(MOUNT, head, 1, 0, -1, null);
NodeMap map = new NodeMap();
JsopReader t = new JsopTokenizer(mounts);
t.read('{');
NodeImpl n = NodeImpl.parse(map, t, 0);
for (long pos = 0;; pos++) {
String childName = n.getChildNodeName(pos);
if (childName == null) {
break;
}
NodeImpl mount = n.getNode(childName);
String mountUrl = JsopTokenizer.decodeQuoted(mount.getProperty("url"));
String[] paths = JsopTokenizer.decodeQuoted(mount.getProperty("paths")).split(",");
addMount(childName, mountUrl, paths);
getHeadRevision();
}
}
}