diff mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialCollectChangesPolicy.java @ 656:32d2a04206c8

Implement ModificationInfoBuilder
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Mon, 30 Sep 2013 21:40:02 +0400
parents 0b50d7952a7d
children d4ef6a366768
line wrap: on
line diff
--- a/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialCollectChangesPolicy.java	Mon Sep 30 15:11:25 2013 +0200
+++ b/mercurial-server/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/MercurialCollectChangesPolicy.java	Mon Sep 30 21:40:02 2013 +0400
@@ -150,11 +150,11 @@
   }
 
 
-  private List<ModificationData> collectChanges(@NotNull OperationContext ctx,
-                                                @NotNull VcsRoot root,
-                                                @NotNull Collection<String> fromVersion,
-                                                @Nullable String currentVersion,
-                                                @NotNull CheckoutRules checkoutRules) throws VcsException {
+  public List<ModificationData> collectChanges(@NotNull OperationContext ctx,
+                                               @NotNull VcsRoot root,
+                                               @NotNull Collection<String> fromVersion,
+                                               @Nullable String currentVersion,
+                                               @NotNull CheckoutRules checkoutRules) throws VcsException {
     HgVcsRoot hgRoot = myHgVcsRootFactory.createHgRoot(root);
     ctx.syncRepository(hgRoot);
     List<ModificationData> result = new ArrayList<ModificationData>();