version 1.36, 2005/07/08 08:24:09 |
version 1.37, 2005/07/08 08:54:43 |
|
|
|
|
static char *date, *tag, *koptstr, *tgtdir, *rcsid; |
static char *date, *tag, *koptstr, *tgtdir, *rcsid; |
static int statmod = 0; |
static int statmod = 0; |
static int shorten = 1; |
static int shorten = 0; |
static int usehead = 0; |
static int usehead = 0; |
static int kflag = RCS_KWEXP_DEFAULT; |
static int kflag = RCS_KWEXP_DEFAULT; |
|
|
|
|
break; |
break; |
case 'd': |
case 'd': |
tgtdir = optarg; |
tgtdir = optarg; |
|
shorten = 1; |
break; |
break; |
case 'f': |
case 'f': |
usehead = 1; |
usehead = 1; |
|
|
} |
} |
|
|
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
|
/* |
|
* These arguments are for the expand-modules |
|
* command that we send to the server before requesting |
|
* a checkout. |
|
*/ |
|
for (i = 0; i < co_nmod; i++) |
|
if (cvs_sendarg(root, co_mods[i], 0) < 0) |
|
return (CVS_EX_PROTO); |
if (cvs_sendreq(root, CVS_REQ_DIRECTORY, ".") < 0) |
if (cvs_sendreq(root, CVS_REQ_DIRECTORY, ".") < 0) |
return (CVS_EX_PROTO); |
return (CVS_EX_PROTO); |
if (cvs_sendln(root, root->cr_dir) < 0) |
if (cvs_sendln(root, root->cr_dir) < 0) |