提交 5ca53d7b 编写于 作者: K kohsuke

Improved Sventon integration to link to directories as well as files.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11199 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e1892b2c
......@@ -68,7 +68,7 @@ public class Sventon extends SubversionRepositoryBrowser {
if (path.getEditType() == EditType.DELETE)
return null; // no file if it's gone
int r = path.getLogEntry().getRevision();
return new URL(url, String.format("showfile.svn?name=%s&revision=%d&path=%s",
return new URL(url, String.format("goto.svn?name=%s&revision=%d&path=%s",
repositoryInstance,r,URLEncoder.encode(getPath(path))));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册