James Moger
2012-10-10 20714aee0d2d2a989d93d6065e081aed8ac85fbf
src/com/gitblit/models/RepositoryModel.java
@@ -89,6 +89,7 @@
      this.authorizationControl = AuthorizationControl.NAMED;
      this.federationSets = new ArrayList<String>();
      this.federationStrategy = FederationStrategy.FEDERATE_THIS;      
      this.projectPath = StringUtils.getFirstPathElement(name);
   }
   
   public List<String> getLocalBranches() {
@@ -175,8 +176,8 @@
      clone.projectPath = StringUtils.getFirstPathElement(cloneName);
      clone.isBare = true;
      clone.description = description;
      clone.accessRestriction = accessRestriction;
      clone.authorizationControl = authorizationControl;
      clone.accessRestriction = AccessRestrictionType.PUSH;
      clone.authorizationControl = AuthorizationControl.NAMED;
      clone.federationStrategy = federationStrategy;
      clone.showReadme = showReadme;
      clone.showRemoteBranches = false;