From: Jorgen Grahn <grahn+nntp@snipabacken.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Starting a new cvs repo in VC
Date: 2 Mar 2011 20:50:11 GMT [thread overview]
Message-ID: <slrnimtbc2.15e.grahn+nntp@frailea.sa.invalid> (raw)
In-Reply-To: 87d3m94zla.fsf@gmail.com
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 <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
next prev parent reply other threads:[~2011-03-02 20:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-02 9:54 Starting a new cvs repo in VC Evans Winner
2011-03-02 20:50 ` Jorgen Grahn [this message]
2011-03-02 22:11 ` Evans Winner
2011-03-03 6:10 ` Eli Zaretskii
[not found] ` <mailman.10.1299132604.20537.help-gnu-emacs@gnu.org>
2011-03-03 7:12 ` Evans Winner
2011-03-03 10:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnimtbc2.15e.grahn+nntp@frailea.sa.invalid \
--to=grahn+nntp@snipabacken.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).