version 1.130, 2006/03/28 12:07:10 |
version 1.131, 2006/03/28 12:48:51 |
|
|
* If we are checking in to a non-default (ie user-specified) |
* If we are checking in to a non-default (ie user-specified) |
* revision, set head to this revision. |
* revision, set head to this revision. |
*/ |
*/ |
if (pb->newrev != NULL) |
if (pb->newrev != NULL) { |
rcs_head_set(pb->file, pb->newrev); |
if (rcs_head_set(pb->file, pb->newrev) < 0) |
else |
fatal("rcs_head_set failed"); |
|
} else |
pb->newrev = pb->file->rf_head; |
pb->newrev = pb->file->rf_head; |
|
|
/* New head revision has to contain entire file; */ |
/* New head revision has to contain entire file; */ |
|
|
* If we are checking in to a non-default (ie user-specified) |
* If we are checking in to a non-default (ie user-specified) |
* revision, set head to this revision. |
* revision, set head to this revision. |
*/ |
*/ |
if (pb->newrev != NULL) |
if (pb->newrev != NULL) { |
rcs_head_set(pb->file, pb->newrev); |
if (rcs_head_set(pb->file, pb->newrev) < 0) |
else |
fatal("rcs_head_set failed"); |
|
} else |
pb->newrev = pb->file->rf_head; |
pb->newrev = pb->file->rf_head; |
|
|
/* New head revision has to contain entire file; */ |
/* New head revision has to contain entire file; */ |