Пример #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
 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");
 }