version 1.5, 2005/03/30 17:43:04 |
version 1.6, 2005/04/03 17:32:50 |
|
|
cvs_annotate_sendflags(struct cvsroot *root) |
cvs_annotate_sendflags(struct cvsroot *root) |
{ |
{ |
if (usehead && (cvs_sendarg(root, "-f", 0) < 0)) |
if (usehead && (cvs_sendarg(root, "-f", 0) < 0)) |
return (EX_PROTOCOL); |
return (-1); |
|
|
if (rev != NULL) { |
if (rev != NULL) { |
if ((cvs_sendarg(root, "-r", 0) < 0) || |
if ((cvs_sendarg(root, "-r", 0) < 0) || |
(cvs_sendarg(root, rev, 0) < 0)) |
(cvs_sendarg(root, rev, 0) < 0)) |
return (EX_PROTOCOL); |
return (-1); |
} |
} |
|
|
if (date != NULL) { |
if (date != NULL) { |
if ((cvs_sendarg(root, "-D", 0) < 0) || |
if ((cvs_sendarg(root, "-D", 0) < 0) || |
(cvs_sendarg(root, date, 0) < 0)) |
(cvs_sendarg(root, date, 0) < 0)) |
return (EX_PROTOCOL); |
return (-1); |
} |
} |
|
|
return (0); |
return (0); |