Mercurial > hg > mercurial
comparison mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BookmarksCommand.java @ 529:33a6be414903
TW-17489 support bookmarks
Now they can be used in the branch and branch spec fields
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Sat, 29 Dec 2012 18:32:56 +0400 |
parents | |
children | 12b549d6fa98 |
comparison
equal
deleted
inserted
replaced
528:6df6580646b9 | 529:33a6be414903 |
---|---|
1 package jetbrains.buildServer.buildTriggers.vcs.mercurial.command; | |
2 | |
3 import jetbrains.buildServer.buildTriggers.vcs.mercurial.HgVersion; | |
4 import org.jetbrains.annotations.NotNull; | |
5 import java.io.File; | |
6 | |
7 | |
8 public class BookmarksCommand extends BranchesCommand { | |
9 | |
10 //hg 2.4 automatically pulls bookmarks | |
11 public static final HgVersion REQUIRED_HG_VERSION = new HgVersion(2, 4, 0); | |
12 | |
13 public BookmarksCommand(@NotNull CommandSettings commandSettings, | |
14 @NotNull String hgPath, | |
15 @NotNull File workingDir, | |
16 @NotNull AuthSettings authSettings) { | |
17 super(commandSettings, hgPath, workingDir, authSettings); | |
18 } | |
19 | |
20 @NotNull | |
21 @Override | |
22 protected String getBranchesCommand() { | |
23 return "bookmarks"; | |
24 } | |
25 } |