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 | 4 | super(repository); |
12 | 4 | } |
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
public BisectResult execute() { |
20 | 3 | return new BisectResult(launchString()); |
21 | |
} |
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
public BisectResult execute(String rev) { |
29 | 1 | return new BisectResult(launchString(rev)); |
30 | |
} |
31 | |
} |