Index: update/CvsUpdateVisualizer.java =================================================================== RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/update/CvsUpdateVisualizer.java,v retrieving revision 1.16 diff -u -r1.16 CvsUpdateVisualizer.java --- update/CvsUpdateVisualizer.java 12 Nov 2004 11:24:59 -0000 1.16 +++ update/CvsUpdateVisualizer.java 18 Nov 2004 14:40:33 -0000 @@ -249,11 +249,15 @@ if (fileInfoContainer != null) { File lastFile = fileInfoContainer.getFile(); if (lastFile != null) { - bestMatch = new File(lastFile.getParentFile(), name); + if (name.indexOf('/') > 0) { + bestMatch = new File(name); + } else { + bestMatch = new File(lastFile.getParentFile(), name); + } } } if (bestMatch == null) { - if (paths.length > 0) { + if (paths.length > 0 && !".".equals(paths[0])) { bestMatch = new File(paths[0] + File.separator + fileName); } else { bestMatch = new File(fileName); Index: update/CvsUpdateVisualizerStdOut.java =================================================================== RCS file: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/update/CvsUpdateVisualizerStdOut.java,v retrieving revision 1.3 diff -u -r1.3 CvsUpdateVisualizerStdOut.java --- update/CvsUpdateVisualizerStdOut.java 12 Nov 2004 11:24:59 -0000 1.3 +++ update/CvsUpdateVisualizerStdOut.java 18 Nov 2004 14:40:33 -0000 @@ -254,11 +254,15 @@ if (fileInfoContainer != null) { File lastFile = fileInfoContainer.getFile(); if (lastFile != null) { - bestMatch = new File(lastFile.getParentFile(), name); + if (name.indexOf('/') > 0) { + bestMatch = new File(name); + } else { + bestMatch = new File(lastFile.getParentFile(), name); + } } } if (bestMatch == null) { - if (paths.length > 0) { + if (paths.length > 0 && !".".equals(paths[0])) { bestMatch = new File(paths[0] + File.separator + fileName); } else { bestMatch = new File(fileName);