cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/import.c


From: Larry Jones
Subject: [Cvs-cvs] Changes to ccvs/src/import.c
Date: Wed, 31 Aug 2005 12:10:41 -0400

Index: ccvs/src/import.c
diff -u ccvs/src/import.c:1.173 ccvs/src/import.c:1.174
--- ccvs/src/import.c:1.173     Tue Aug 30 01:55:19 2005
+++ ccvs/src/import.c   Wed Aug 31 16:10:40 2005
@@ -467,6 +467,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");
@@ -548,6 +551,9 @@
        }
        (void) CVS_CLOSEDIR (dirp);
     }
+
+    if (!current_parsed_root->isremote)
+       Simple_Lock_Cleanup ();
 
     if (dirlist != NULL)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]