version 1.216, 2007/08/27 19:18:05 |
version 1.217, 2007/09/07 23:05:04 |
|
|
struct rcs_delta *rdp; |
struct rcs_delta *rdp; |
struct cvs_lines *lines; |
struct cvs_lines *lines; |
struct cvs_line *lp; |
struct cvs_line *lp; |
|
extern int print_stdout; |
|
|
expand = 0; |
expand = 0; |
lines = rcs_rev_getlines(rfp, rev); |
lines = rcs_rev_getlines(rfp, rev); |
|
|
|
|
if (expand) |
if (expand) |
rcs_kwexp_line(rfp->rf_path, rdp, lp, expmode); |
rcs_kwexp_line(rfp->rf_path, rdp, lp, expmode); |
|
|
|
/* |
|
* Solely for the checkout and update -p options. |
|
*/ |
|
if (cvs_server_active == 1 && |
|
(cvs_cmdop == CVS_OP_CHECKOUT || |
|
cvs_cmdop == CVS_OP_UPDATE) && print_stdout == 1) { |
|
if (write(fd, "M ", 2) == -1) |
|
fatal("rcs_rev_write_fd: %s", strerror(errno)); |
|
} |
|
|
if (write(fd, lp->l_line, lp->l_len) == -1) |
if (write(fd, lp->l_line, lp->l_len) == -1) |
fatal("rcs_rev_write_fd: %s", strerror(errno)); |
fatal("rcs_rev_write_fd: %s", strerror(errno)); |