bug-gnu-emacs
[Top][All Lists]
Advanced

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

pcl_cvs: no update after "add" operation


From: Maciej Kalisiak
Subject: pcl_cvs: no update after "add" operation
Date: Fri, 16 Jan 2004 17:19:25 -0500
User-agent: Mutt/1.4.1i

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 address@hidden 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:address@hidden:/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




reply via email to

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