Skip to content

Commit

Permalink
[FIXED JENKINS-14343] Using File name rather than full path in ViewCv…
Browse files Browse the repository at this point in the history
…s line
  • Loading branch information
mc1arke committed Sep 3, 2012
1 parent 2f8e49e commit ba40382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/scm/browsers/ViewCVS.java
Expand Up @@ -57,7 +57,7 @@ public ViewCVS(URL url) throws MalformedURLException {
}

public URL getFileLink(File file) throws IOException {
return new URL(url,trimHeadSlash(file.getFullName())+param());
return new URL(url,trimHeadSlash(file.getName())+param());
}

public URL getDiffLink(File file) throws IOException {
Expand Down

0 comments on commit ba40382

Please sign in to comment.