version 1.109, 2007/08/30 11:07:18 |
version 1.110, 2007/09/22 16:01:22 |
|
|
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) |
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) |
cvs_remote_classify_file(cf); |
cvs_remote_classify_file(cf); |
else |
else |
cvs_file_classify(cf, NULL); |
cvs_file_classify(cf, cvs_directory_tag); |
|
|
if (cf->file_type == CVS_DIR) { |
if (cf->file_type == CVS_DIR) { |
if (verbosity > 1) |
if (verbosity > 1) |
|
|
if (cf->file_status == FILE_ADDED || |
if (cf->file_status == FILE_ADDED || |
cf->file_status == FILE_REMOVED || |
cf->file_status == FILE_REMOVED || |
cf->file_status == FILE_MODIFIED) |
cf->file_status == FILE_MODIFIED) |
cvs_file_get(cf->file_path, &files_affected); |
cvs_file_get(cf->file_path, 0, &files_affected); |
|
|
switch (cf->file_status) { |
switch (cf->file_status) { |
case FILE_ADDED: |
case FILE_ADDED: |
cvs_file_get(cf->file_path, &files_added); |
cvs_file_get(cf->file_path, 0, &files_added); |
break; |
break; |
case FILE_REMOVED: |
case FILE_REMOVED: |
cvs_file_get(cf->file_path, &files_removed); |
cvs_file_get(cf->file_path, 0, &files_removed); |
break; |
break; |
case FILE_MODIFIED: |
case FILE_MODIFIED: |
cvs_file_get(cf->file_path, &files_modified); |
cvs_file_get(cf->file_path, 0, &files_modified); |
break; |
break; |
} |
} |
} |
} |
|
|
char attic[MAXPATHLEN], repo[MAXPATHLEN], rcsfile[MAXPATHLEN]; |
char attic[MAXPATHLEN], repo[MAXPATHLEN], rcsfile[MAXPATHLEN]; |
|
|
cvs_log(LP_TRACE, "cvs_commit_local(%s)", cf->file_path); |
cvs_log(LP_TRACE, "cvs_commit_local(%s)", cf->file_path); |
cvs_file_classify(cf, NULL); |
cvs_file_classify(cf, cvs_directory_tag); |
|
|
if (cvs_noexec == 1) |
if (cvs_noexec == 1) |
return; |
return; |