[DRBD-cvs] CVSROOT by lars; sleep a little while in commit.pl

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Sat, 24 Jan 2004 11:46:32 +0100 (CET)


DRBD CVS committal

Author  : lars
Module  : CVSROOT

Dir     : CVSROOT


Modified Files:
	commit.pl 


Log Message:

sleep a little while in commit.pl


===================================================================
RCS file: /var/lib/cvs/drbd/CVSROOT/commit.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- commit.pl	16 Jan 2004 19:31:15 -0000	1.3
+++ commit.pl	24 Jan 2004 10:46:32 -0000	1.4
@@ -67,6 +67,10 @@
 
 # ok, now we are a background process, and won't deadlock the
 # repository on the cvs locks.
+# sleep a little while, so a cvs ci with several subdirs is finished
+# before the cvs diff below starts concurrently locking the repository
+
+sleep 5;
 
 @filesets = split(/\s+/,$ARGV[0]);
 $path = shift(@filesets);