CVS-PCL (or PCL-CVS)

is a lisp extension to Emacs to support a CVS mode.

One of the nicest features it has is to call `ediff' (a very nice Emacs diff package) or the related `emerge' on your CVS files. However, this does not work on my Debian GNU/Linux box (pcl-cvs version R-2.0-beta_2), where I just get the error message

  Something went wrong retrieving revision X: 1
if I use a remote repository (through :pserver:). The X can be just `nil', a symbolic revision name like `BASE' or `HEAD', or probably just a plain revision number like `1.5'.

This problem was discussed on the Xemacs news group and the solution suggested by Aaron Gross works fine for me, after I have slightly adopted it to work with GNU Emacs as well. What follows are the instructions how to fix pcl-cvs as a normal user, i.e. not touching any system files.

How to fix pcl-cvs

Put the following into your .emacs file:

  
;;; Fix pcl-cvs
(add-hook 'cvs-mode-hook
          (lambda ()
            (load "fix-cvs-pcl")))
        

Then put the file `fix-cvs-pcl.el' into one of your Emacs load-path directories. The next time you start Emacs (GNU or Xemacs), you should be able to type `E' in your CVS buffer and get a fully functional Ediff session.

Created 22-May-2001 by Wolfgang Dobler
Send comments to Wolfgang.Dobler@kis.uni-freiburg.de