emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS update fails


From: Stephen Berman
Subject: Re: CVS update fails
Date: Tue, 21 Aug 2007 21:12:33 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

On Tue, 21 Aug 2007 11:43:52 -0400 Stefan Monnier <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]