Index: src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsCommit.java =================================================================== RCS file: /shared/data/helm/cvs/repository/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsCommit.java,v retrieving revision 1.9.2.1 diff -c -r1.9.2.1 CvsCommit.java *** src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsCommit.java 21 Mar 2003 17:16:06 -0000 1.9.2.1 --- src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsCommit.java 24 Apr 2003 14:35:32 -0000 *************** *** 66,72 **** this.fileSystem = fileSystem; } ! private static ArrayList getFilePaths(String paths, char ps) { ArrayList files = new ArrayList(); if (paths != null && paths.length() > 0) { int len = paths.length(); --- 66,72 ---- this.fileSystem = fileSystem; } ! private static ArrayList getFilePaths(String commonParent, String paths, char ps) { ArrayList files = new ArrayList(); if (paths != null && paths.length() > 0) { int len = paths.length(); *************** *** 75,80 **** --- 75,83 ---- int index = paths.indexOf(""+ps + ps, begin); if (index < 0) index = len; String file = paths.substring(begin, index); + if (commonParent != null && commonParent.length() > 0) { + file = commonParent + "/" + file; + } files.add(file.replace(ps, '/')); begin = index + 2; } while (begin < len); *************** *** 535,541 **** vars.put("WINCAT", wincat); } final StringBuffer buff = new StringBuffer(); ! ArrayList filePaths = getFilePaths((String) vars.get("PATHS"), ps); CommandsPool cpool = fileSystem.getCommandsPool(); Hashtable varsOriginal = new Hashtable(vars); boolean committed = false; --- 538,544 ---- vars.put("WINCAT", wincat); } final StringBuffer buff = new StringBuffer(); ! ArrayList filePaths = getFilePaths((String) vars.get("COMMON_PARENT"), (String) vars.get("PATHS"), ps); CommandsPool cpool = fileSystem.getCommandsPool(); Hashtable varsOriginal = new Hashtable(vars); boolean committed = false;