示例#1
0
 @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));
 }
示例#2
0
文件: Agent.java 项目: ccbon/ocp
 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");
 }