[Top][All Lists]

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

vc with rcs does not generate correct versions

From: Uwe Brauer
Subject: vc with rcs does not generate correct versions
Date: Mon, 29 Oct 2007 10:00:56 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux)

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-01-16 on palmer, modified by Debian
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' 
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' 
'--localstatedir=/var/lib' '--infodir=/usr/share/info' 
'--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' 
'--with-x-toolkit=athena' 'build_alias=i486-linux-gnu' 
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -fno-stack-protector -O2''
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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


I am on Kubuntu Feisty, using RCS 5.7-18. The problem I report seems
also to happen in Xemacs 21.4.19 which makes me think that the problem 
lies in the RCS. 

I do the following:

emacs -q.
Open a new text file, test.txt.
Add 1 line register the file, execute vc-register.
Add a new line, execute vc-toggle. Now the modeline tells me I am in version
co -p1 test.txt 
gives me as output the current file.
co -p2 test.txt 
tells me revision 2 absent
I add a 3rd line and execute vc-toggle.

same result. 
co -p3 test.txt 
tells me revision 2 absent

Now I use (setq debug-on-error t)

and I obtain an error message which I attach. The error is not surprising 
sind co did not return any version above 1!!!

Recent input:
<tab> o <tab> <return> 2 <return> C-x C-b C-x o <down> 
<down> <down> <down> <return> C-x b t <tab> . <tab> 
<return> M-x s e t SPC v a r <tab> <return> d e b <tab> 
u <tab> o n <tab> e <tab> <return> t <return> C-x 1 
M-x v c SPC o <tab> <backspace> v <tab> o <tab> <return> 
2 <return> C-x C-w b u g <M-backspace> r c s - b u 
g <return> M-x e m a c s SPC r e <tab> <M-backspace> 
<M-backspace> r e p o <tab> r t SPC e m <tab> <ret

Recent messages:
Checking out /home/oub/testrc-emacs/test.txt.~2~...
vc-do-command: Running co...FAILED (status 1)
Making completion list...
Checking out /home/oub/testrc-emacs/test.txt.~2~...
Loading debug...done
Entering debugger...
 [2 times]
Wrote /home/oub/testrc-emacs/rcs-bug
Making completion list...
Loading emacsbug...done

This the first line. Register:
We have version 1.1, we add that line, now we toggle
We are in version 1.2 and we add 3rd line,  now we toggle

Attachment: bindSw_dXkOiY.bin
Description: Binary data

Attachment: rcs-bug
Description: Binary data

reply via email to

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