@Override public void checkoutAll(String localDir) throws Exception { JLG.rm(localDir); JLG.mkdir(localDir); Pointer p = getRootPointer(); if (p == null) { return; } Tree rootTree = getTree(p); checkout(rootTree, new File(localDir)); }
public boolean isFirstAgent() { if (p == null) { JLG.debug("p is null"); } String s = p.getProperty("server", "no"); return s.equalsIgnoreCase("yes") && p.getProperty("server.isFirstAgent", "no").equalsIgnoreCase("yes"); }