James Moger
2013-04-01 0f47b2f605ed4119a6042b72d3499b223f40ec90
src/test/java/com/gitblit/tests/GitBlitSuite.java
@@ -153,7 +153,9 @@
         enableTickets("ticgit.git");
         enableDocs("ticgit.git");
         showRemoteBranches("ticgit.git");
         automaticallyTagBranchTips("ticgit.git");
         showRemoteBranches("test/jgit.git");
         automaticallyTagBranchTips("test/jgit.git");
      }
   }
@@ -198,6 +200,16 @@
      }
   }
   
   private static void automaticallyTagBranchTips(String repositoryName) {
      try {
         RepositoryModel model = GitBlit.self().getRepositoryModel(repositoryName);
         model.useIncrementalPushTags = true;
         GitBlit.self().updateRepositoryModel(model.name, model, false);
      } catch (GitBlitException g) {
         g.printStackTrace();
      }
   }
   public static void close(File repository) {
      try {
         File gitDir = FileKey.resolve(repository, FS.detect());