version 1.98, 2006/05/27 03:30:30 |
version 1.99, 2006/05/27 18:04:46 |
|
|
#include "includes.h" |
#include "includes.h" |
|
|
#include "cvs.h" |
#include "cvs.h" |
|
#include "config.h" |
#include "log.h" |
#include "log.h" |
#include "file.h" |
#include "file.h" |
|
|
|
|
int cvs_noexec = 0; /* set to 1 to disable disk operations (-n option) */ |
int cvs_noexec = 0; /* set to 1 to disable disk operations (-n option) */ |
int cvs_error = -1; /* set to the correct error code on failure */ |
int cvs_error = -1; /* set to the correct error code on failure */ |
int cvs_cmdop; |
int cvs_cmdop; |
|
int cvs_umask = CVS_UMASK_DEFAULT; |
|
|
|
char *cvs_tagname = NULL; |
char *cvs_defargs; /* default global arguments from .cvsrc */ |
char *cvs_defargs; /* default global arguments from .cvsrc */ |
char *cvs_command; /* name of the command we are running */ |
char *cvs_command; /* name of the command we are running */ |
char *cvs_rootstr; |
char *cvs_rootstr; |
|
|
|
|
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) |
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) |
fatal("remote setups are not supported yet"); |
fatal("remote setups are not supported yet"); |
|
|
|
cvs_parse_configfile(); |
|
|
|
umask(cvs_umask); |
|
|
cmdp->cmd(cmd_argc, cmd_argv); |
cmdp->cmd(cmd_argc, cmd_argv); |
cvs_cleanup(); |
cvs_cleanup(); |