Index: vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListOffline.java diff -c vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListOffline.java:1.3 vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListOffline.java:1.4 *** vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListOffline.java:1.3 Thu Feb 27 15:43:35 2003 --- vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/list/CvsListOffline.java Tue Apr 8 04:23:03 2003 *************** *** 124,129 **** --- 124,142 ---- } } + private void addRemoteFiles(Hashtable filesByName) { + File d = new File(dir); + getEntry(d, "test"); // This will initialize entries if they are not yet loaded + if (entriesByFiles != null) { + for (Iterator it = entriesByFiles.keySet().iterator(); it.hasNext(); ) { + String fileName = (String) it.next(); + if (!new File(d, fileName).exists()) { + fillCVSFileStatus(d, fileName, filesByName); + } + } + } + } + private void fillCVSFileStatus(File dir, String fileName, Hashtable filesByName) { String entry = getEntry(dir, fileName); if (entry == null) return ; *************** *** 165,170 **** --- 178,186 ---- if (cvsDateStr.startsWith(INITIAL_TIMESTAMP)) { return "Locally Added"; } + if (!realFile.exists()) { + return "Needs Checkout"; + } DateFormat cvsDateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy", Locale.US); //NOI18N cvsDateFormat.setTimeZone(TimeZone.getTimeZone("GMT+0000")); //NOI18N Date cvsDate; *************** *** 323,328 **** --- 339,345 ---- //this.errorRegex = errorRegex; initVars(vars, args); addLocalFiles(filesByName); + addRemoteFiles(filesByName); return true; } }