changeset 534:12b549d6fa98

Suppress output when there are no bookmarks
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Mon, 21 Jan 2013 16:36:21 +0400
parents 7f587e526d88
children 489c08497b64
files mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BookmarksCommand.java
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BookmarksCommand.java	Thu Jan 17 22:24:40 2013 +0400
+++ b/mercurial-common/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BookmarksCommand.java	Mon Jan 21 16:36:21 2013 +0400
@@ -22,4 +22,11 @@
   protected String getBranchesCommand() {
     return "bookmarks";
   }
+
+  @Override
+  protected MercurialCommandLine createCommandLine() {
+    MercurialCommandLine cmd = super.createCommandLine();
+    cmd.addParameter("-q");
+    return cmd;
+  }
 }