version 1.10, 2005/04/13 20:05:37 |
version 1.11, 2005/04/18 21:02:49 |
|
|
int ret; |
int ret; |
char fpath[MAXPATHLEN]; |
char fpath[MAXPATHLEN]; |
struct cvsroot *root; |
struct cvsroot *root; |
struct cvs_ent *entp; |
|
|
|
ret = 0; |
ret = 0; |
root = CVS_DIR_ROOT(cf); |
root = CVS_DIR_ROOT(cf); |
|
|
} |
} |
|
|
cvs_file_getpath(cf, fpath, sizeof(fpath)); |
cvs_file_getpath(cf, fpath, sizeof(fpath)); |
entp = cvs_ent_getent(fpath); |
|
|
|
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) { |
if (cvs_sendentry(root, cf) < 0) { |
cvs_ent_free(entp); |
|
return (CVS_EX_PROTO); |
return (CVS_EX_PROTO); |
} |
} |
|
|
|
|
} |
} |
} |
} |
|
|
if (entp != NULL) |
|
cvs_ent_free(entp); |
|
return (ret); |
return (ret); |
} |
} |