From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: CVS update fails Date: Tue, 21 Aug 2007 21:12:33 +0200 Message-ID: <87hcmsd7mm.fsf@escher.local.home> References: <87abslxlgd.fsf@escher.local.home> <876439xa39.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187723604 24289 80.91.229.12 (21 Aug 2007 19:13:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2007 19:13:24 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 21 21:13:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INZAH-0001tG-AI for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 21:13:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INZAG-0008St-BR for ged-emacs-devel@m.gmane.org; Tue, 21 Aug 2007 15:13:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INZAC-0008Qv-VT for emacs-devel@gnu.org; Tue, 21 Aug 2007 15:13:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INZA7-0008D9-K5 for emacs-devel@gnu.org; Tue, 21 Aug 2007 15:13:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INZA7-0008Cg-6K for emacs-devel@gnu.org; Tue, 21 Aug 2007 15:13:11 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INZA7-0007Pv-MM for emacs-devel@gnu.org; Tue, 21 Aug 2007 15:13:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INZ9y-0001fr-30 for emacs-devel@gnu.org; Tue, 21 Aug 2007 21:13:02 +0200 Original-Received: from i577bc142.versanet.de ([87.123.193.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2007 21:13:02 +0200 Original-Received: from Stephen.Berman by i577bc142.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2007 21:13:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Followup-To: gmane.emacs.devel Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577bc142.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76908 gmane.emacs.pretest.bugs:19574 Archived-At: On Tue, 21 Aug 2007 11:43:52 -0400 Stefan Monnier wrote: > Rather than mark all the files, you can just use `O' with *no marks* and > with point on the directory you want to update. Better yet: M-u will update > the toplevel directory on the *cvs* buffer no matter what marks you've > placed. Thanks for the pointers, I should have familiarized myself more with the doc before. Though having done that now, I think the doc for `O' could be made clearer. The docstring just says "Update all marked files. With a prefix argument, prompt for cvs flags." The PCL-CVS manual says "Runs `cvs-mode-update' on the selected files. When run on the top-level directory, this is equivalent to `M-u'." I'm not sure I would have understood this to mean "use `O' with *no marks* and with point on the directory" as you said above. It turns out, however, that that is not strictly necessary. I typed `O' with point at the top of the *cvs* buffer, i.e. not on the directory name, and it still updated everything. On the other hand, before doing that I had tried `O' with point at the end of the buffer, also not on any file name, and this resulted in only the last file in the directory being updated. Is this the intended behavior? > Updating file-by-file is generally not what you want because it'll > miss the new files/directories. Not with the default setting (at least, I haven't changed any pcl-cvs variables): typing `O' runs cvs -f update -d -P ^^ Steve Berman