public ResourceReference lookup(String name) {
ResourceReference rr = super.lookup(name);
if (rr == null) {
// This may be an unchecked out directory:
try {
CvsDirectory cvs = getCvsManager();
if ( cvs.getDirectoryStatus(name) == CVS.DIR_NCO )
cvs.updateDirectory(name);
} catch (CvsException ex) {
String msg = "cvs update -d \""+name+"\" failed.";
getServer().errlog(this, msg);
return null;
}