From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: VC filesets Date: Mon, 20 Oct 2008 17:30:37 -0700 (PDT) Message-ID: <200810210030.m9L0Ubvx026390@mothra.ics.uci.edu> References: <87hc795llv.fsf@cyd.mit.edu> <200810190808.m9J88HkH019522@mothra.ics.uci.edu> <87k5c3f3d9.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224549060 8184 80.91.229.12 (21 Oct 2008 00:31:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 00:31:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 21 02:32:00 2008 connect(): Connection refused 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 1Ks5AF-0007PK-C9 for ged-emacs-devel@m.gmane.org; Tue, 21 Oct 2008 02:31:59 +0200 Original-Received: from localhost ([127.0.0.1]:42322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks599-000446-M8 for ged-emacs-devel@m.gmane.org; Mon, 20 Oct 2008 20:30:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks594-00043e-OD for emacs-devel@gnu.org; Mon, 20 Oct 2008 20:30:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks594-00043K-0V for emacs-devel@gnu.org; Mon, 20 Oct 2008 20:30:46 -0400 Original-Received: from [199.232.76.173] (port=51178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks593-000439-Rm for emacs-devel@gnu.org; Mon, 20 Oct 2008 20:30:45 -0400 Original-Received: from barrelv2.ics.uci.edu ([128.195.1.114]:61903) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1Ks593-0005nh-EF for emacs-devel@gnu.org; Mon, 20 Oct 2008 20:30:45 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m9L0Ubtb009473; Mon, 20 Oct 2008 17:30:37 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m9L0Ubvx026390; Mon, 20 Oct 2008 17:30:37 -0700 (PDT) In-Reply-To: <87k5c3f3d9.fsf@cyd.mit.edu> (Chong Yidong's message of "Mon, 20 Oct 2008 15:55:30 -0400") Original-Lines: 59 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m9L0Ubtb009473 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:104708 Archived-At: Chong Yidong writes: > Dan Nicolaescu writes: > > > Chong Yidong writes: > > > > > I'm currently updating the Emacs manual, and I need someone to clarify > > > how VC filesets work in the new VC. > > > > > > If the current buffer is in a version controlled file, does the default > > > VC fileset ALWAYS consist of just that one file? > > > > Yep. > > (in case you want to look at the details, the function that deals with > > this is vc-deduce-fileset). > > That's what I thought. > > But in that case, what's the meaning of this paragraph in files.texi? Well, your question referred strictly to "the current buffer is in a version controlled file". > It seems to be saying that `C-x v v' automatically DTRT outside of VC > dir mode by including the file in a changeset. > > If you are accustomed to earlier versions of VC, the change in > behavior you will notice is in the directory mode. Other than IMHO this should not be in the texi docs, the difference between old and new versions belongs in NEWS, "new" gets old too fast in the docs. > @kbd{C-x v v}, most VC-mode commands once operated on only one file > selected by the line the cursor is on. The change in the behavior of > @kbd{C-x v v} outside VC Directory Mode is more subtle. Formerly it > operated in parallel on all marked files, but did not pass them to the > version-control backends as a group. Now it does, which enables VC to > drive changeset-based version-control systems. Maybe it wants to talk about this: Note that if you do C-x v d mark 2 files in the 'edited state, then do C-x v l then in the log view buffer you do C-x v = you get the diff for the 2 files that were marked. Or if you do C-x v v from the diff buffer, it will check in the 2 marked files... This part: > Formerly it operated in parallel on all marked files, but did not > pass them to the version-control backends as a group. probably wants to say that before in vc-directory you could select multiple files, and check them in, but they were checked in one file at a time, instead of as a group in a single command. Just guessing here...