22 set_program_brief(
"copy files into a CVS source hierarchy");
23 set_program_description
24 (
"This program copies one or more files into a CVS source hierarchy. " 25 "Rather than copying the named files immediately into the current " 26 "directory, it first scans the entire source hierarchy, identifying all " 27 "the already-existing files. If the named file to copy matches the " 28 "name of an already-existing file in the current directory or elsewhere " 29 "in the hierarchy, that file is overwritten.\n\n" 31 "This is primarily useful as a test program for libcvscopy.");
39 SourceFiles::iterator fi;
40 for (fi = _source_files.begin(); fi != _source_files.end(); ++fi) {
42 if (dest ==
nullptr) {
56 return copy_binary_file(source, dest);
60 int main(
int argc,
char *argv[]) {
virtual void parse_command_line(int argc, char **argv)
Dispatches on each of the options on the command line, and passes the remaining parameters to handle_...
This represents one particular directory in the hierarchy of source directory files.
The name of a file, such as a texture file or an Egg file.
A program to copy ordinary files into the cvs tree.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.