version 1.41, 2006/04/01 00:56:54 |
version 1.42, 2006/04/05 01:38:55 |
|
|
* Put the branch revision on the branches list for the first revision. |
* Put the branch revision on the branches list for the first revision. |
*/ |
*/ |
rdp = rcs_findrev(rf, rev); |
rdp = rcs_findrev(rf, rev); |
brp = (struct rcs_branch *)xmalloc(sizeof(*brp)); |
brp = xmalloc(sizeof(*brp)); |
brp->rb_num = rcsnum_alloc(); |
brp->rb_num = rcsnum_alloc(); |
rcsnum_cpy(brev, brp->rb_num, 0); |
rcsnum_cpy(brev, brp->rb_num, 0); |
TAILQ_INSERT_TAIL(&(rdp->rd_branches), brp, rb_list); |
TAILQ_INSERT_TAIL(&(rdp->rd_branches), brp, rb_list); |