View Javadoc

1   package com.aragost.javahg.commands;
2   
3   import java.io.IOException;
4   
5   import com.aragost.javahg.Repository;
6   import com.aragost.javahg.commands.flags.BisectCommandFlags;
7   
8   public class BisectCommand extends BisectCommandFlags {
9   
10      public BisectCommand(Repository repository) {
11          super(repository);
12      }
13  
14      /**
15       * Run <tt>hg bisect</tt>.
16       * 
17       * @throws IOException
18       */
19      public BisectResult execute()  {
20          return new BisectResult(launchString());
21      }
22  
23      /**
24       * Run <tt>hg bisect</tt>.
25       * 
26       * @throws IOException
27       */
28      public BisectResult execute(String rev)  {
29          return new BisectResult(launchString(rev));
30      }
31  }