From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aaron S. Hawley" Newsgroups: gmane.emacs.bugs Subject: Re: vc-mode: initial comments lost if using CVS Date: Thu, 25 Aug 2005 12:30:34 -0400 (EDT) Organization: University of Vermont Message-ID: References: <1124968223.23992.241452312@webmail.messagingengine.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1124988605 4677 80.91.229.2 (25 Aug 2005 16:50:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2005 16:50:05 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 18:49:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E8Ku0-0003Tt-Im for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2005 18:48:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8Kxt-0004np-GZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2005 12:52:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E8Km8-0007fN-41 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2005 12:40:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E8Km1-0007bi-DB for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2005 12:40:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8Km0-0007Wy-6H for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2005 12:40:16 -0400 Original-Received: from [132.198.101.203] (helo=eagle.uvm.edu) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E8Kdx-0007YU-GD for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2005 12:31:57 -0400 Original-Received: from gnu.uvm.edu (gnu.uvm.edu [132.198.101.64]) by eagle.uvm.edu (8.12.11/8.12.11) with ESMTP id j7PGUZpZ014820 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 25 Aug 2005 12:30:35 -0400 X-X-Sender: ashawley@gnu.uvm.edu Original-To: era eriksson In-Reply-To: <1124968223.23992.241452312@webmail.messagingengine.com> X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:12835 Archived-At: I can't confirm the behavior of the missing change comment, however I can confirm a missing description when the file is added outside of Emacs (and without a -m message). I'm assuming that your scenario entails adding the file to CVS from the command-line rather than Emacs. It seems Emacs can register files to CVS ("add") with `vc-next-action' (C-x v v). I've tried to reproduce the situation with a CVS module "vc-mode-test" created from scratch (perhaps others know a quicker way of creating a minimal CVS repository). I do the "add" and "commit" from within Emacs. The description and change comment show up in the changelog. Can you verify this? $ mkdir ~/cvs $ export CVSROOT=$HOME/cvs $ cvs init $ cd /tmp $ mkdir vc-mode-test $ cd vc-mode-test $ cvs import -m"Created directory structure" vc-mode-test vc-mode test No conflicts created by this import $ cd .. $ cvs vc-mode-test CVS $ cd - $ emacs foo.txt In Emacs, Set vc-initial-comment to non-nil with `M-: (setq vc-initial-comment t)'. Register the file (`cvs add') with `C-x v v' and enter a description. Check-in the initial revision (`cvs commit') with `C-x v v' and enter a change comment. Viewing the changelog with `C-x v l' shows: RCS file: /home/ashawley/cvs/vc-mode-test/foo.txt,v Working file: foo.txt head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: An added file. ---------------------------- revision 1.1 date: 2005-08-25 16:18:43 +0000; author: ashawley; state: Exp; Initial comment. Hope that helps. /a On Thu, 25 Aug 2005, era eriksson wrote: > ... > > However, under CVS, the file is only "added" but not "committed" at this > point. The next C-x v v will ask for a commit comment, and actually > commit the current file to the repository. > > Now, under CVS, if you type C-x v l, the description: field will be > empty, and there will be no trace of your initial comment. > > This has been in Emacs vc-mode for as long as I've been trying to use > this feature. > > /* era */