From owner-cvs-all Sat Feb 28 03:02:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA24633 for cvs-all-outgoing; Sat, 28 Feb 1998 03:02:46 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA24617; Sat, 28 Feb 1998 03:02:36 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id LAA04433; Sat, 28 Feb 1998 11:59:40 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199802281059.LAA04433@ocean.campus.luth.se> Subject: Re: cvs commit: CVSROOT avail In-Reply-To: <199802280127.SAA07845@mt.sri.com> from Nate Williams at "Feb 27, 98 06:27:15 pm" To: nate@mt.sri.com (Nate Williams) Date: Sat, 28 Feb 1998 11:59:40 +0100 (CET) Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-CVSROOT@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk According to Nate Williams: > > BTW, why do the following work differently for remote `cvs commit'? > > Is it because the cvs client is current? > > 1) all files are handled in one batch, even if they are in separate > > directories. > > Optimization to minimize the 'commit' traffic over the wire, and to > minimize the locking. Doing a 'commit-per-directory' requires more work > than the client is willing to do at this point, and leaves the locks in > place much longer. Basically for as long as I have used CVS I have missed the ability to do "real" commit messages in an easy way. That is, do something like: cvs setmessage -m "Did this in this file" file1.c cvs setmessage -m "Did that in this file" file2.c cvs setmessage -m "Did stuff here too" blipp/file3.c cvs setmessage -m "Just did some stuff here" blipp/file4.c cvs commit -m "This message added to the messages set previously for each file" (or just: cvs commit -m "" to just use the messages each file had set for it) That way you can get sane log messages on files, and still get it commited in one big sweep, to avoid problems with people checking out in the middle of your mega-commit (which you have do do file-by file now, to get the same effect with log messages). Would someone fix this for me? :-) /Mikael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message