X-Originating-IP: [208.160.246.197] From: "Nimrod Abing" To: djgpp AT delorie DOT com Subject: CVS 1.10 (under DJGPP) quirks Date: Mon, 28 Aug 2000 14:45:06 PHT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 28 Aug 2000 06:45:07.0308 (UTC) FILETIME=[80DA1AC0:01C010BB] Reply-To: djgpp AT delorie DOT com Hello. I was just wondering if anyone else has noticed these ``quirks'' with CVS 1.10 and Emacs 19 under DJGPP. I'm using Windoze 98 to run DJGPP so I can use LFN and stuff, and I set it up as follows: I have a directory for DJGPP files and one directory for my projects. The DJGPP directory is C:\STUFF\USR and it is subst'ed via autoexec.bat to virtual drive G: My projects directory is C:\Projects is subst'ed to virtual drive H: Now, I've set up H:/ as my HOME directory. In this HOME I have all my _bashrc, _emacs, and other configuration files. All was working fine until I decided to download and install CVS 1.10. So as directed in CVS readme, I set up the repository. I've set up a CVS repo on my Linux box before, so it was pretty straightforward with DJGPP version of CVS. I added +CVSROOT=h:/srcvault and +CVSEDITOR=g:/gnu/emacs/bin/emacs.exe to DJGPP.ENV. I try ``cvs init'' from BASH, it takes a long time to init the CVS repo then cvs complains that it cannot access or write to ``H:\/.cvsignore''! Huh? Okay, so it must be that HOME should be ``H:'' instead of ``H:/'', so I make the changes. All works fine with ``cvs init''. So I try to import some projects... Okay so far... I try to edit some sources with Emacs. What's this? It seems Emacs has reverted to its primitive state. It would seem that Emacs has failed to find H:/_emacs. Ohhboy! What to do. I try so many things with the environment variables until I got it right. I mean until I got Emacs and CVS to work together without affecting each other's quirky behavior. Here's how I did it (all stuffed into DJGPP.ENV): 1. I moved srcvault to %DJDIR%. Hence +CVSROOT=%DJDIR%/srcvault. 2. HOME is still +HOME=h:/ 3. +CVSEDITOR (and section [cvs]) is removed and replaced with global +EDITOR=%DJDIR%/gnu/emacs/bin/emacs.exe Voila! It works. Now cvs works as it should, and emacs can now find h:/_emacs. And now for one last quirk. ``cvs release -d project'' fails with an error message: CVS release: deletion of directory project failed: Permission denied(EACCES) I'm planning to download the sources to fix this, that is when I can find the time to download it. I hope this was mildly amusing. Bye. ---------------- _nimrod_a_abing_ ------------------------------------------ Homepage: http://www.geocities.com/n_abing _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.