mrbytes
2012-08-14 975f7c55eea0c20a686d860b67b9a0d5fc3130bb
src/com/gitblit/GitBlit.java
@@ -910,6 +910,21 @@
      r.close();
      return model;
   }
   /**
    * Determines if this server has the requested repository.
    *
    * @param name
    * @return true if the repository exists
    */
   public boolean hasRepository(String repositoryName) {
      Repository r = getRepository(repositoryName, false);
      if (r == null) {
         return false;
      }
      r.close();
      return true;
   }
   /**
    * Returns the size in bytes of the repository. Gitblit caches the