Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #70 from jglick/deprecation-JENKINS-29311
[JENKINS-29311] Avoid deprecated call
  • Loading branch information
jglick committed Aug 13, 2015
2 parents 7df7610 + 7b8765a commit 82fb59a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hudson/plugins/mercurial/MercurialSCM.java
Expand Up @@ -37,6 +37,7 @@
import hudson.util.ArgumentListBuilder;
import hudson.util.ForkOutputStream;
import hudson.util.ListBoxModel;
import hudson.util.LogTaskListener;
import hudson.util.VersionNumber;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
Expand Down Expand Up @@ -901,7 +902,7 @@ public ChangeLogParser createChangeLogParser() {
if ( build != null )
{
try {
EnvVars env = build.getEnvironment( );
EnvVars env = build.getEnvironment(new LogTaskListener(LOGGER, Level.INFO));
return workspace2Repo(workspace, env);
} catch (IOException ex) {
Logger.getLogger(MercurialSCM.class.getName()).log(Level.SEVERE, null, ex);
Expand Down

0 comments on commit 82fb59a

Please sign in to comment.