提交 e25747c3 编写于 作者: D davidseymore

fix for #1539.. svn:externals can have externals in them... the path needs to...

fix for #1539.. svn:externals can have externals in them... the path needs to be appended for revisions to be properly recorded

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9411 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8b8ff2fb
......@@ -111,7 +111,10 @@ final class SubversionUpdateEventHandler implements ISVNEventHandler {
} else {
out.println(Messages.SubversionUpdateEventHandler_FetchExternal(
ext.getNewURL(), ext.getNewRevision(), event.getFile()));
externals.add(new SubversionSCM.External(modulePath,ext));
//#1539 - an external inside an external needs to have the path appended
externals.add(new SubversionSCM.External(modulePath + "/" + event.getPath().substring(0
,event.getPath().length() - ext.getPath().length())
,ext));
}
return;
} else if (action == SVNEventAction.UPDATE_COMPLETED) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册