提交 2c6a3afd 编写于 作者: K kohsuke

this is probably better.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1148 71c3de6d-444a-0410-be80-ed276b4c234a
上级 677a7fa7
......@@ -370,10 +370,9 @@ public class SubversionSCM extends AbstractCVSFamilySCM {
// check the corresponding remote revision
for (SvnInfo localInfo : wsRev.values()) {
SvnInfo remoteInfo = SvnInfo.parse(localInfo.url,env,workspace,listener);
if(remoteInfo.revision > localInfo.revision) {
listener.getLogger().println(localInfo.url+" revision changed from "+localInfo.revision+" to "+remoteInfo.revision);
listener.getLogger().println("Revision:"+remoteInfo.revision);
if(remoteInfo.revision > localInfo.revision)
return true; // change found
}
}
return false; // no change
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册