version 1.99, 2007/06/01 17:47:47 |
version 1.100, 2007/06/18 17:54:13 |
|
|
|
|
cvs_checkout_file(cf, cf->file_rcsrev, flags); |
cvs_checkout_file(cf, cf->file_rcsrev, flags); |
cvs_printf("U %s\n", cf->file_path); |
cvs_printf("U %s\n", cf->file_path); |
|
cvs_history_add(CVS_HISTORY_UPDATE_CO, cf, NULL); |
break; |
break; |
case FILE_MERGE: |
case FILE_MERGE: |
cvs_checkout_file(cf, cf->file_rcsrev, CO_MERGE); |
cvs_checkout_file(cf, cf->file_rcsrev, CO_MERGE); |
|
|
if (diff3_conflicts != 0) { |
if (diff3_conflicts != 0) { |
cvs_printf("C %s\n", cf->file_path); |
cvs_printf("C %s\n", cf->file_path); |
|
cvs_history_add(CVS_HISTORY_UPDATE_MERGED_ERR, |
|
cf, NULL); |
} else { |
} else { |
update_clear_conflict(cf); |
update_clear_conflict(cf); |
cvs_printf("M %s\n", cf->file_path); |
cvs_printf("M %s\n", cf->file_path); |
|
cvs_history_add(CVS_HISTORY_UPDATE_MERGED, cf, NULL); |
} |
} |
break; |
break; |
case FILE_UNLINK: |
case FILE_UNLINK: |
|
|
entlist = cvs_ent_open(cf->file_wd); |
entlist = cvs_ent_open(cf->file_wd); |
cvs_ent_remove(entlist, cf->file_name); |
cvs_ent_remove(entlist, cf->file_name); |
cvs_ent_close(entlist, ENT_SYNC); |
cvs_ent_close(entlist, ENT_SYNC); |
|
cvs_history_add(CVS_HISTORY_UPDATE_REMOVE, cf, NULL); |
break; |
break; |
default: |
default: |
break; |
break; |