From: Maciej Kalisiak <mac@dgp.toronto.edu>
Subject: pcl_cvs: no update after "add" operation
Date: Fri, 16 Jan 2004 17:19:25 -0500 [thread overview]
Message-ID: <20040116221925.GD28348@khazad-dum> (raw)
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
reply other threads:[~2004-01-16 22:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040116221925.GD28348@khazad-dum \
--to=mac@dgp.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.