From: Evans Winner <ego111@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Starting a new cvs repo in VC
Date: Thu, 03 Mar 2011 00:12:12 -0700 [thread overview]
Message-ID: <87lj0w3cfn.fsf@gmail.com> (raw)
In-Reply-To: mailman.10.1299132604.20537.help-gnu-emacs@gnu.org
,------ Eli Zaretskii wrote ------
| This happens because there's no create-repo method
| implemented for the CVS backend:
| (vc-find-backend-function 'CVS 'create-repo) => nil
| When that happens, Emacs cannot DWYM when you type "C-x
| v v" for an unregistered file. So it only offers you
| backends which do have a create-repo method implemented.
| Feel free to report that as a bug, at least in the
| documentation.
No, it is a bug in me; I read over section
(info "(emacs)Registering")
but missed this the first time:
"On the other hand, if there are no files already
registered, Emacs uses the first system from
`vc-handled-backends' that could register the file (for
example, you cannot register a file under CVS if its
directory is not already part of a CVS tree);...."
It looks like, from lisp/ChangeLog.13 the handler function
was removed.
2007-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
...
* vc-mcvs.el (vc-mcvs-create-repo):
* vc-cvs.el (vc-cvs-create-repo): Remove.
From a quick perusal of the devel list archives, I am not
sure why it was removed. But if you don't think this is as
it should be I can post that there. (I sort of assumed that
if it were really bug I someone else would have noticed in 3
years.)
next prev parent reply other threads:[~2011-03-03 7:12 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
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 [this message]
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=87lj0w3cfn.fsf@gmail.com \
--to=ego111@gmail.com \
--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).