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

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

Re: can't tag module w/ PCL-CVS in Emacs 21.2


From: Richard V. Molen
Subject: Re: can't tag module w/ PCL-CVS in Emacs 21.2
Date: 22 Oct 2002 16:39:35 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Sorry for being slow to respond, I've been having some hardware
problems.


"Stefan Monnier <foo@acm.com>"
<monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:

> >> Hmmm... I thought I had been very careful to explain that it is a
> >> complement to VC and a replacement only to VC-dired.  > > Sorry,
> >> I misread.
> 
> That probably indicates that it's miswritten.  If you could provide
> us with a rewritten version of the text which wouldn't confuse you,
> it would be most helpful.
>

You honor me, and normally I would accept such an offer, but the
section 'About PCL-CVS' seems pretty clear as I re-read it.  It is
concise in that PCL-CVS is a replacement for VC-dired (note the
'dired', not the entire VC).  However, I do wonder what the 'PCL'
means.

> 
> >> Are you sure bash and Emacs run the same `cvs' executable ?
> > Yes, Cygwin mounts 
> > d:\tools\cygwin\bin on /usr/bin so /usr/bin = /bin
> > a symbolic link in /bin/cvs points to d:\bin\cvs.exe
> 
> Instead of reasoning I generally prefer to replace the executable
> with another one and see if it is changed in the same way in both
> cases.  I don't trust my ability to reason about such things.

I agree, so I've simplified by using only d:\tools\cygwin\bin\cvs.exe
(no links or shortcuts).  I cut 'exec-path' to two paths in my .emacs.
I also tried running 'emacs --no-init-file' & made a sample repository
on the local hard drive to avoid the :server: method.

Summarizing, tagging with PCL-CVS works great on RH7.3 Emacs 21.2 by
placing the cursor on the spot just past '.:' then pressing 't' etc.
So I know I'm doing that part right.

And, on a WinNT box, I can checkout a directory, do directory status,
examine, use *cvs* buffer to commit, view log, view status of files,
use C-x C-q to commit files -- PCL-CVS & that part of VC work great.

However, after simplifying my setup by ensuring use of only one
executable in one location with a minimal path and using 'emacs
--no-init-file', making a dummy repository on the local hard drive (d:)
and avoiding the :server: method, " *cvs-tmp*" reports...

cvs.exe tag: nothing known about pads
cvs.exe [tag aborted]: correct the above errors first!

...tagging works fine with bash or even the native OS 'cmd.exe'
thus...

/cygdrive/d/tools/cygwin/bin/cvs -f tag -c bashtag2  <- ala bash
d:\tools\cygwin\bin\cvs tag -c cmd_exetag1           <- ala cmd.exe

the CVS subdirectory in the 'sandbox' looks like this.
=============================================
$ cd /home/ric/pads
$ cd CVS
$ cat Repository
pads
$ cat Root
/home/ric/wrk/cvs
$ cat Entries
/HTR8B.txt/1.1.1.1/Mon Oct 21 20:13:14 2002//
/blr8c.txt/1.1.1.1/Tue Oct 22 18:51:44 2002//
/cocal.txt/1.1.1.1/Fri Sep  6 19:12:18 2002//
/emacs.txt/1.1.1.1/Fri Sep  6 19:10:00 2002//
/htr8f.txt/1.1.1.1/Tue Oct  1 15:14:20 2002//
/legacy.txt/1.1.1.1/Mon Sep 16 19:34:26 2002//
/scsi.txt/1.1.1.1/Mon Oct 14 16:42:44 2002//
/misc.txt/1.2/Tue Oct 22 21:11:50 2002//
D
===============================================


Thanks for your interest; any other ideas I can try?


-- 
Richard V. Molen

Warning!!
Signature under construction, safety glasses required.


reply via email to

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