From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aaron S. Hawley" Newsgroups: gmane.emacs.devel Subject: Re: vc-rename-file doesn't work for CVS Date: Tue, 8 Nov 2005 13:03:03 -0500 (EST) Organization: University of Vermont Message-ID: References: <877jbwiqbp.fsf@emacsfans.tsinghua.edu.cn> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1131473578 5672 80.91.229.2 (8 Nov 2005 18:12:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 18:12:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 08 19:12:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZXoZ-00040E-Vi for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2005 19:03:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZXoZ-0002iJ-Dt for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2005 13:03:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZXoK-0002hj-5I for emacs-devel@gnu.org; Tue, 08 Nov 2005 13:03:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZXoI-0002hC-El for emacs-devel@gnu.org; Tue, 08 Nov 2005 13:03:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZXoI-0002h9-7L for emacs-devel@gnu.org; Tue, 08 Nov 2005 13:03:06 -0500 Original-Received: from [132.198.101.203] (helo=eagle.uvm.edu) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EZXoH-0001ey-O9 for emacs-devel@gnu.org; Tue, 08 Nov 2005 13:03:05 -0500 Original-Received: from elk.uvm.edu (elk.uvm.edu [132.198.101.63]) by eagle.uvm.edu (8.13.5/8.13.5) with ESMTP id jA8I33PL028893 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 8 Nov 2005 13:03:03 -0500 X-X-Sender: ashawley@elk.uvm.edu Original-To: Stefan Monnier In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45598 Archived-At: 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.