[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/import.c [cvs1-11-x-branch]
From: |
Larry Jones |
Subject: |
[Cvs-cvs] Changes to ccvs/src/import.c [cvs1-11-x-branch] |
Date: |
Tue, 30 Aug 2005 21:37:26 -0400 |
Index: ccvs/src/import.c
diff -u ccvs/src/import.c:1.133.4.14 ccvs/src/import.c:1.133.4.15
--- ccvs/src/import.c:1.133.4.14 Wed Mar 9 19:47:15 2005
+++ ccvs/src/import.c Wed Aug 31 01:37:23 2005
@@ -451,6 +451,9 @@
ign_add_file (CVSDOTIGNORE, 1);
wrap_add_file (CVSDOTWRAPPER, 1);
+ if (!current_parsed_root->isremote)
+ lock_dir_for_write (repository);
+
if ((dirp = CVS_OPENDIR (".")) == NULL)
{
error (0, errno, "cannot open directory");
@@ -532,6 +535,9 @@
}
(void) CVS_CLOSEDIR (dirp);
}
+
+ if (!current_parsed_root->isremote)
+ Lock_Cleanup ();
if (dirlist != NULL)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Cvs-cvs] Changes to ccvs/src/import.c [cvs1-11-x-branch],
Larry Jones <=