Return to edit.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.16, 2007/01/03 09:49:37 | version 1.17, 2007/01/05 07:13:49 | ||
---|---|---|---|
|
|
||
return; | return; | ||
} | } | ||
/* XXX: compare cf->file_path and bfpath */ | if (cvs_file_cmp(cf->file_path, bfpath) != 0) { | ||
cvs_printf("%s has been modified; revert changes? ", | |||
cf->file_name); | |||
if (cvs_yesno() == -1) { | |||
xfree(bfpath); | |||
return; | |||
} | |||
} | |||
cvs_rename(bfpath, cf->file_path); | cvs_rename(bfpath, cf->file_path); | ||
xfree(bfpath); | xfree(bfpath); |