unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Aaron S. Hawley" <Aaron.Hawley@uvm.edu>
Subject: Re: vc-rename-file doesn't work for CVS
Date: Wed, 16 Nov 2005 19:04:34 -0500 (EST)	[thread overview]
Message-ID: <Pine.A41.4.58.0511161722420.56890@elk.uvm.edu> (raw)
In-Reply-To: <E1EZg9u-0007lM-VI@fencepost.gnu.org>

On Tue, 8 Nov 2005, Richard M. Stallman wrote:

> Thanks for pointing this out.
>
> To make this really clear, we need to tell the user how to recognize
> this situation, so that he knows it is necessary to use C-x v v that
> way.  Can anyone tell me the criterion or write further text saying
> it?

Unfortunately, the manual doesn't explain the "@@"  syntax that appears in
the mode line for files under VC (and using CVS?) that are uncommitted and
therefore lack a version number.  That's one item users could use to help
"recognize this situation" and to know what to do next. It could be
mentioned either in the manual section titled "VC Mode Line" or the
"Registering" subsection under "Secondary VC Commands".

I'd have to investigate all the backends to see how they respond to
`vc-rename-file', but my guess is only CVS acts this way.  Below is a
draft check list based on what I know.  Perhaps, others could contribute
more based on what they know.

 * RCS, CSSC - renames working and master files at filesystem level
 * CVS, Meta-CVS(?) - requires commit after renaming
 * Arch(?), Svn(?) - the backend supports renaming

For those who wish to test VC mode with CVS, I've tried to document on the
Emacs Wiki how to initialize a minimal CVS repository:

<http://www.emacswiki.org/cgi-bin/emacs-en/ConcurrentVersionsSystem>

/a

  reply	other threads:[~2005-11-17  0:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-29 10:13 vc-rename-file doesn't work for CVS Zhang Wei
2005-11-04 20:11 ` Aaron S. Hawley
2005-11-04 20:53   ` Stefan Monnier
2005-11-08 18:03     ` Aaron S. Hawley
2005-11-08 18:07       ` Stefan Monnier
2005-11-09  2:57       ` Richard M. Stallman
2005-11-17  0:04         ` Aaron S. Hawley [this message]
2005-11-17  2:28           ` Stefan Monnier
2005-11-18 16:55           ` Richard M. Stallman

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=Pine.A41.4.58.0511161722420.56890@elk.uvm.edu \
    --to=aaron.hawley@uvm.edu \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).