From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Make CVS default revision controller Date: Thu, 22 May 2003 17:22:21 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <841xyr9fbm.fsf@lucy.is.informatik.uni-duisburg.de> References: <5l7k8mnf2o.fsf@rum.cs.yale.edu> <84he7nuzww.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1053617424 26669 80.91.224.249 (22 May 2003 15:30:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 15:30:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 17:30:16 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Is1H-0006vP-00 for ; Thu, 22 May 2003 17:30:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Irwp-0005zO-PN for gnu-help-gnu-emacs@m.gmane.org; Thu, 22 May 2003 11:25:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1053616959 232793 134.91.35.216 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:umCx9z06+m/4K8cs7LuzpUZKroI= Original-Xref: shelby.stanford.edu gnu.emacs.help:113545 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10038 marcuirl writes: > kai.grossjohann@gmx.net (Kai Großjohann) writes: > >> Niels Freimann writes: >> >>> the problem is that vc uses rcs if the directory is NOT under CVS >>> control. If there is a chance to change this "behavior" to CVS >>> please let me know. >> >> Why is this a problem? For CVS, you have to create a repository, >> first. Then you have to create a working directory. Then you can >> add files from inside that working directory. >> >> So you can't add a random file to CVS anyway. > > So then, let us rephrase the question: > > How do you go about setting up an `empty' repository? "cvs -d /your/repository/setting init" You can use M-x shell RET or M-! to run this command under Emacs. > All I want is to put .emacs, .gnus etc under CVS now that I am more > confident using it. And do this without importing the entire ${HOME} > directory structure. A work around I have thought is to ln -s these files > to others in a config/ That is the right solution. > But that will not fix the problem when in another directory I want > to CVS just one file in that directory? Please also use the symlink trick in that case. > Am I being really thick or something, educate me and help the others, > please. CVS just works this way. You create a so-called workspace (AKA working directory) where you edit your files. CVS does allow you to ignore some files in the workspace (often used for *.o, for instance). But in general, it assumes that it owns the workspace. If you want to put a single file under version control, use RCS or SCCS. -- This line is not blank.