diff mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommandTest.java @ 480:efba721f9a1d Faradi-7.1.x

TW-23382 agent logs with info, server logs with debug
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Wed, 26 Sep 2012 18:29:01 +0400
parents 8c1fd2e565ae
children 31a1aca3305c
line wrap: on
line diff
--- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommandTest.java	Wed Sep 26 14:58:55 2012 +0400
+++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/command/BaseCommandTest.java	Wed Sep 26 18:29:01 2012 +0400
@@ -16,7 +16,7 @@
 
   public void should_quote_command_line_arguments() throws IOException {
     File workingDir = new File("some dir");
-    BaseCommand command = new BaseCommand("/path/to/hg", workingDir);
+    BaseCommand command = new BaseCommand(new CommandSettings(), "/path/to/hg", workingDir);
     GeneralCommandLine cl = command.createCommandLine();
     cl.addParameter("param with spaces");
     cl.addParameter("param with quote \" rm -rf /");