From 677a7fa75885a729b906a6d8355cbefb3e2b3e59 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Sat, 18 Nov 2006 13:41:39 +0000 Subject: [PATCH] added a log message so that we can better understand #167. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1147 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/scm/SubversionSCM.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/scm/SubversionSCM.java b/core/src/main/java/hudson/scm/SubversionSCM.java index 30df663c85..7f2a446e36 100644 --- a/core/src/main/java/hudson/scm/SubversionSCM.java +++ b/core/src/main/java/hudson/scm/SubversionSCM.java @@ -370,8 +370,10 @@ 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) + if(remoteInfo.revision > localInfo.revision) { + listener.getLogger().println(localInfo.url+" revision changed from "+localInfo.revision+" to "+remoteInfo.revision); return true; // change found + } } return false; // no change -- GitLab