< prev index next >

bots/pr/src/main/java/org/openjdk/skara/bots/pr/CensusInstance.java

Print this page
*** 47,11 ***
          this.namespace = namespace;
      }
  
      private static Repository initialize(HostedRepository repo, String ref, Path folder) {
          try {
!             return Repository.materialize(folder, repo.url(), ref);
          } catch (IOException e) {
              throw new RuntimeException("Failed to retrieve census to " + folder, e);
          }
      }
  
--- 47,11 ---
          this.namespace = namespace;
      }
  
      private static Repository initialize(HostedRepository repo, String ref, Path folder) {
          try {
!             return Repository.materialize(folder, repo.url(), "+" + ref + ":pr_census_" + repo.name());
          } catch (IOException e) {
              throw new RuntimeException("Failed to retrieve census to " + folder, e);
          }
      }
  
< prev index next >