< prev index next >

bots/mlbridge/src/main/java/org/openjdk/skara/bots/mlbridge/ArchiveWorkItem.java

Print this page
@@ -110,11 +110,12 @@
          return Optional.empty();
      }
  
      private Repository materializeArchive(Path scratchPath) {
          try {
-             return Repository.materialize(scratchPath, bot.archiveRepo().url(), pr.targetRef());
+             return Repository.materialize(scratchPath, bot.archiveRepo().url(),
+                                           "+" + bot.archiveRef() + ":mlbridge_archive");
          } catch (IOException e) {
              throw new UncheckedIOException(e);
          }
      }
  
< prev index next >