From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Grahn Newsgroups: gmane.emacs.help Subject: Re: Starting a new cvs repo in VC Date: 2 Mar 2011 20:50:11 GMT Message-ID: References: <87d3m94zla.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1299130604 32017 80.91.229.12 (3 Mar 2011 05:36:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2011 05:36:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 06:36:40 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pv1DL-00024I-Mu for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 06:36:39 +0100 Original-Received: from localhost ([127.0.0.1]:39781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pv1DL-0002Fp-8m for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 00:36:39 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-X-Trace: individual.net 3Pd+SMCZKmSfrsTO5j72mgNSu0GmZp5Psg5ZtUrovlrbEp5G6m Cancel-Lock: sha1:EXV76vOHtg76/HVrXnn3lmzDYI0= User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:185555 X-Mailman-Approved-At: Thu, 03 Mar 2011 00:34:37 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79728 Archived-At: On Wed, 2011-03-02, Evans Winner wrote: > This is possible a cvs question, rather than an Emacs > specific question. I an not too familiar with version > control systems. I have used RCS from VC some time agp. > Now I would like to start a new cvs repo for a directory > full of files. What I have read made me think I needed to > visit a file and then do C-x v v and complete on the name of > the vcs backend. But when I try this and tab for > completion, the list of backends does not include CVS. I > gather that there used to be a function 'vc-cvs-create-repo > that was hooked in here, but no more (?) In any case, while > this is from a very recent bzr checkout of Emacs 24, I think > it's much more likely that I am doing something wrong than > that it is a bug; hence I am asking about it here. > > I am really unfamiliar with this stuff, but for what it's > worth: > > (getenv "CVSROOT") ==> "/home/thorne/bu-cvsroot" > > and have done cvs -d /bu-cvsroot init But that *is* the command to use to start a new CVS repository. You've already done what you're asking about! > Is there anything else I need to make sure of? Earlier you wrote > Now I would like to start a new cvs repo for a directory > full of files. so I guess you want to start a new project/add a new module, within that repository. I'd use 'cvs import' from the command line for that. % cd my_project % cvs import my_project dummy START % cd .. and then check out a copy of my_project somewhere, and delete the original It's not something you're going to do every day, so you don't really have to find out if and how Emacs' vc-stuff supports that. (Unless your goal is to test that part of Emacs.) /Jorgen -- // Jorgen Grahn O o .