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

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

Re: vc-annotate tries to load vc-nil


From: Juri Linkov
Subject: Re: vc-annotate tries to load vc-nil
Date: Fri, 30 Dec 2005 02:55:42 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> 1. start PCL-CVS;
>> 2. insert an old file removed from the CVS repository, e.g.
>>    `I emacs/lisp/webjump.el' (note that it was moved from
>>    emacs/lisp/webjump.el to emacs/lisp/net/webjump.el);
>> 3. type `l';
>> 4. in the *cvs-info* buffer type `n';
>> 5. type `d' or `f'  =>  vc-nil error
>
> That's an old bug.
> Instead of `d' (which uses VC) why don't you use
> `C-x c =' (which uses PCL-CVS)?

`C-x c =' is not equivalent to `d'.  Unlike `d', it doesn't compare the
revision at point with its previous revision.  It compares the revision at
point with the current revision.  Perhaps this is another bug, I don't know.

To show the difference below are diff headers produced after typing
`d' on the revision 1.6 in the *cvs-info* buffer in log-view mode:

Index: lisp/net/webjump.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/webjump.el,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6

And typing `C-x c =' or `=' on the same revision 1.6:

Index: lisp/net/webjump.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/webjump.el,v
retrieving revision 1.6
diff -u -r1.6 webjump.el

The latter diff is useless.

When using `C-x c =' or `=' on a file removed from the CVS repository,
the diff is more useless: it compares the revision at point with
/dev/null:

Index: lisp/webjump.el
===================================================================
RCS file: lisp/webjump.el
diff -N lisp/webjump.el
--- lisp/webjump.el     27 May 1997 16:20:16 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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