James Moger
2011-11-10 4eb1d83ac51f9b0a8813e7c1ed8e106e37c18562
src/com/gitblit/utils/RpcUtils.java
@@ -146,6 +146,10 @@
    */
   public static boolean createRepository(RepositoryModel repository, String serverUrl,
         String account, char[] password) throws IOException {
      // ensure repository name ends with .git
      if (!repository.name.endsWith(".git")) {
         repository.name += ".git";
      }
      return doAction(RpcRequest.CREATE_REPOSITORY, null, repository, serverUrl, account,
            password);