提交 7b7ea791 编写于 作者: K kohsuke

[FIXED HUDSON-2461] Applied a slightly modified patch. Fixed in 1.274.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14395 71c3de6d-444a-0410-be80-ed276b4c234a
上级 1d82e08f
......@@ -4,6 +4,7 @@ import hudson.model.AbstractBuild;
import hudson.model.BuildListener;
import hudson.scm.SubversionSCM.ModuleLocation;
import hudson.FilePath;
import hudson.util.IOException2;
import hudson.remoting.VirtualChannel;
import hudson.FilePath.FileCallable;
import org.tmatesoft.svn.core.SVNException;
......@@ -96,7 +97,7 @@ public final class SubversionChangeLogBuilder {
return SubversionSCM.DescriptorImpl.DESCRIPTOR.createAuthenticationProvider();
}
private boolean buildModule(String url, SVNLogClient svnlc, SVNXMLLogHandler logHandler) {
private boolean buildModule(String url, SVNLogClient svnlc, SVNXMLLogHandler logHandler) throws IOException2 {
PrintStream logger = listener.getLogger();
Long prevRev = previousRevisions.get(url);
if(prevRev==null) {
......@@ -129,7 +130,7 @@ public final class SubversionChangeLogBuilder {
if(debug)
listener.getLogger().println("done");
} catch (SVNException e) {
e.printStackTrace(listener.error("revision check failed on "+url));
throw new IOException2("revision check failed on "+url,e);
}
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册