/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* See LICENSE.txt included in this distribution for the specific
* language governing permissions and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at LICENSE.txt.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/**
* Access to a Perforce repository
*
* @author Emilio Monti - emilmont@gmail.com
*/
/** The property name used to obtain the client command for this repository. */
"org.opensolaris.opengrok.history.Perforce";
/** The command to use to access the repository if none was given explicitly */
public PerforceRepository() {
type = "Perforce";
}
// a.addDesc(entry.getRevision(), entry.getMessage());
}
int lineno = 0;
try {
++lineno;
} else {
"Error: did not find annotation in line "
}
}
} catch (IOException e) {
"Error: Could not read annotations for " + file, e);
}
return a;
}
}
}
}
return true;
}
return true;
}
new PerforceRepository();
/**
* Check if a given file is in the depot
*
* @param file The file to test
* @return true if the given file is in the depot, false otherwise
*/
boolean status = false;
if (file.isDirectory()) {
name = "*";
/* OUTPUT:
stdout: //depot_path/name
stderr: name - no such file(s).
*/
}
if (!status) {
/* OUTPUT:
stdout: //depot_path/name
stderr: name - no such file(s).
*/
}
}
return status;
}
return isInP4Depot(file);
}
public boolean isWorking() {
}
return working.booleanValue();
}
boolean hasHistoryForDirectories() {
return true;
}
}
}