James Moger
2014-03-08 f1b8822f715ea00da6b7d39a8ea63864aeda2d39
src/main/java/com/gitblit/models/RepositoryModel.java
@@ -51,7 +51,6 @@
   public String lastChangeAuthor;
   public boolean hasCommits;
   public boolean showRemoteBranches;
   public boolean useDocs;
   public boolean useIncrementalPushTags;
   public String incrementalPushTagPrefix;
   public AccessRestrictionType accessRestriction;
@@ -65,6 +64,7 @@
   public boolean skipSummaryMetrics;
   public String frequency;
   public boolean isBare;
   public boolean isMirror;
   public String origin;
   public String HEAD;
   public List<String> availableRefs;
@@ -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,7 +219,8 @@
      clone.federationStrategy = federationStrategy;
      clone.showRemoteBranches = false;
      clone.allowForks = false;
      clone.useDocs = useDocs;
      clone.acceptNewPatchsets = false;
      clone.acceptNewTickets = false;
      clone.skipSizeCalculation = skipSizeCalculation;
      clone.skipSummaryMetrics = skipSummaryMetrics;
      clone.sparkleshareId = sparkleshareId;