From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Maciej Kalisiak Newsgroups: gmane.emacs.bugs Subject: pcl_cvs: no update after "add" operation Date: Fri, 16 Jan 2004 17:19:25 -0500 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040116221925.GD28348@khazad-dum> Reply-To: mac@dgp.toronto.edu NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074291734 24281 80.91.224.253 (16 Jan 2004 22:22:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2004 22:22:14 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 23:22:05 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AhcLt-00071Y-00 for ; Fri, 16 Jan 2004 23:22:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhcKO-0002PC-Dg for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jan 2004 17:20:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AhcJv-0002EU-NC for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2004 17:20:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AhcJL-0001xn-Ey for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2004 17:19:58 -0500 Original-Received: from [128.100.4.1] (helo=atlas.dgp.toronto.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AhcJK-0001xP-QL for bug-gnu-emacs@gnu.org; Fri, 16 Jan 2004 17:19:26 -0500 Original-Received: by atlas.dgp.toronto.edu (Postfix, from userid 672) id 942D04F867; Fri, 16 Jan 2004 17:19:25 -0500 (EST) Original-To: bug-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.4.1i X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6595 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6595 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit) of 2003-10-31 on raven, modified by Debian configured using `configure i386-linux --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --without-gif --with-x=yes --with-x-toolkit=athena --without-toolkit-scroll-bars' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Short description: after a file is added to a repository using pcl-cvs, the cvs buffer is not updated to show the new status of the added file (i.e., it stays as "Unknown" instead of switching to "Added"). It seems pcl-cvs simply thinks nothing happened, and this is not just a refresh bug, since subsequent efforts to commit the file indicate that (pcl-cvs thinks) the file is not a CVS-tracked file (it gives "`commit' is not applicable to any of the selected files.") A subsequent cvs-update gets the correct status of the file. I have enquired about this earliear on gnu.emacs.help on 2003-03-05. There might be some other useful info in that thread. Also note I do not have a .cvsrc file in ~/ or in the current directory. "cvs --version" gives 1.11.5. Linux/Debian(sid) system. I've seen this behaviour with other versions of CVS and OS. Recipe: - create a fresh CVS project, and check it out - create a new file "foo.txt" - do cvs-update on the project directory - press "a" on the foo.txt line - enter a description - the file has now been added to the repo, but its status in the buffer has not been updated to "Added" As Stefan Monnier suggested, here is *cvs* buffer: ,---- | Repository : :ext:mac@128.1.1.1:/homes/e/mac/cvsroot | Module : pclbugproj | Working dir: ~/tasks/pcl_cvs_bug/pclbugproj/ | | | | Unknown bar.txt | Modified foo.txt | | --------------------- End --------------------- | -- last cmd: cvs -f add -m bar file bar.txt -- `---- and " *cvs-tmp*" buffer: ,---- | cvs server: use 'cvs commit' to add this file permanently `---- A secondary bug is that in the cvs buffer, as seen above, the quotes around the message get dropped in the "-- last cmd:" line, but this is very minor. Recent input: [ cut; relevant keystrokes past end of those that were here. The addition was done with "a" key in the pcl-cvs buffer ] Recent messages: Running cvs add ... CVS process has completed Wrote /home/mac/tasks/pcl_cvs_bug/buffer_cvs A buffer is visiting /home/mac/tasks/pcl_cvs_bug/buffer_cvs-tmp; proceed? Wrote /home/mac/tasks/pcl_cvs_bug/buffer_cvs-tmp cvs-cmd-do: ~/tasks/pcl_cvs_bug/ does not contain CVS controlled files (No files need saving) Running cvs update ... CVS process has completed Loading emacsbug...done