451 |
ign_add_file (CVSDOTIGNORE, 1); |
ign_add_file (CVSDOTIGNORE, 1); |
452 |
wrap_add_file (CVSDOTWRAPPER, 1); |
wrap_add_file (CVSDOTWRAPPER, 1); |
453 |
|
|
454 |
|
if (!current_parsed_root->isremote) |
455 |
|
lock_dir_for_write (repository); |
456 |
|
|
457 |
if ((dirp = CVS_OPENDIR (".")) == NULL) |
if ((dirp = CVS_OPENDIR (".")) == NULL) |
458 |
{ |
{ |
459 |
error (0, errno, "cannot open directory"); |
error (0, errno, "cannot open directory"); |
536 |
(void) CVS_CLOSEDIR (dirp); |
(void) CVS_CLOSEDIR (dirp); |
537 |
} |
} |
538 |
|
|
539 |
|
if (!current_parsed_root->isremote) |
540 |
|
Lock_Cleanup (); |
541 |
|
|
542 |
if (dirlist != NULL) |
if (dirlist != NULL) |
543 |
{ |
{ |
544 |
Node *head, *p; |
Node *head, *p; |