James Moger
2014-03-12 1207947afee4d7fbd2ee374339d5e84bb0528e9a
src/main/java/com/gitblit/models/RepositoryModel.java
@@ -85,6 +85,10 @@
   public int maxActivityCommits;
   public List<String> metricAuthorExclusions;
   public CommitMessageRenderer commitMessageRenderer;
   public boolean acceptNewPatchsets;
   public boolean acceptNewTickets;
   public boolean requireApproval;
   public String mergeTo;
   public transient boolean isCollectingGarbage;
   public Date lastGC;
@@ -105,6 +109,8 @@
      this.projectPath = StringUtils.getFirstPathElement(name);
      this.owners = new ArrayList<String>();
      this.isBare = true;
      this.acceptNewTickets = true;
      this.acceptNewPatchsets = true;
      addOwner(owner);
   }
@@ -138,6 +144,10 @@
   public void resetDisplayName() {
      displayName = null;
   }
   public String getRID() {
      return StringUtils.getSHA1(name);
   }
   @Override
@@ -209,6 +219,8 @@
      clone.federationStrategy = federationStrategy;
      clone.showRemoteBranches = false;
      clone.allowForks = false;
      clone.acceptNewPatchsets = false;
      clone.acceptNewTickets = false;
      clone.skipSizeCalculation = skipSizeCalculation;
      clone.skipSummaryMetrics = skipSummaryMetrics;
      clone.sparkleshareId = sparkleshareId;