unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Aaron S. Hawley" <Aaron.Hawley@uvm.edu>
Cc: emacs-devel@gnu.org
Subject: Re: vc-rename-file doesn't work for CVS
Date: Tue, 8 Nov 2005 13:03:03 -0500 (EST)	[thread overview]
Message-ID: <Pine.A41.4.58.0511081259260.73750@elk.uvm.edu> (raw)
In-Reply-To: <jwvoe5087ap.fsf-monnier+emacs@gnu.org>

On Fri, 4 Nov 2005, Stefan Monnier wrote:

> >> While I'm trying to rename a file with 'vc-rename-file', the old file
> >> was deleted from my working copy, and a new file was created,
> >> everything seems ok, but if I checkout a fresh new working copy, the
> >> old file and the new one was check out all together.  It seems like
> >> that the "cvs remove" commond doen't issue at all.

> > After a quick glance at this problem it may have been related to the
> > removal of the function `vc-cvs-rename-file'.

> AFAICT this shouldn't make any difference.  The vc-cvs-rename-file had the
> same requirement that the user had to commit both the OLD and the NEW
> files afterwards.

I guess that does make sense.  Isn't that different across backends?
Shouldn't something like the following be mentioned in the manual?

*** files.texi	31 Oct 2005 13:56:40 -0500	1.121
--- files.texi	08 Nov 2005 13:00:38 -0500
***************
*** 2573,2578 ****
--- 2573,2583 ----
  snapshot thus modified may not completely work (@pxref{Snapshot
  Caveats}).

+   Some backends do not provide an explicit rename operation to their
+ repositories.  After issuing @code{vc-rename-file}, use @kbd{C-x v v}
+ on the original and renamed buffers and provide the necessary edit
+ log.
+
    You cannot use @code{vc-rename-file} on a file that is locked by
  someone else.

  reply	other threads:[~2005-11-08 18:03 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 [this message]
2005-11-08 18:07       ` Stefan Monnier
2005-11-09  2:57       ` Richard M. Stallman
2005-11-17  0:04         ` Aaron S. Hawley
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.0511081259260.73750@elk.uvm.edu \
    --to=aaron.hawley@uvm.edu \
    --cc=emacs-devel@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.
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).