version 1.83, 2008/02/11 20:33:11 |
version 1.84, 2008/02/20 17:29:28 |
|
|
cvs_log(LP_TRACE, "import_update(%s)", cf->file_path); |
cvs_log(LP_TRACE, "import_update(%s)", cf->file_path); |
|
|
if ((rev = rcs_translate_tag(import_branch, cf->file_rcs)) == NULL) |
if ((rev = rcs_translate_tag(import_branch, cf->file_rcs)) == NULL) |
fatal("import_update: could not translate tag `%s'", import_branch); |
fatal("import_update: could not translate tag `%s'", |
|
import_branch); |
|
|
if ((brev = rcsnum_parse(import_branch)) == NULL) |
if ((brev = rcsnum_parse(import_branch)) == NULL) |
fatal("import_update: rcsnum_parse failed"); |
fatal("import_update: rcsnum_parse failed"); |
|
|
if ((b1 = rcs_rev_getbuf(cf->file_rcs, rev, RCS_KWEXP_NONE)) == NULL) |
b1 = rcs_rev_getbuf(cf->file_rcs, rev, RCS_KWEXP_NONE); |
fatal("import_update: failed to grab revision"); |
|
|
|
b2 = cvs_buf_load_fd(cf->fd); |
b2 = cvs_buf_load_fd(cf->fd); |
|
|
ret = cvs_buf_differ(b1, b2); |
ret = cvs_buf_differ(b1, b2); |