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: No commit in vc? Date: Thu, 28 Jan 2010 11:44:05 -0800 (PST) Message-ID: <201001281944.o0SJi58l028002@godzilla.ics.uci.edu> References: <4B613BFB.2000107@swipnet.se> <87bpgev5bk.fsf@telefonica.net> <4B618AA4.1040403@swipnet.se> <87vdemtk4g.fsf@telefonica.net> <4B61A5BE.5050207@swipnet.se> <83aavy3xbk.fsf@gnu.org> <4B61E20D.9030404@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264708149 21457 80.91.229.12 (28 Jan 2010 19:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 19:49:09 +0000 (UTC) Cc: ofv@wanadoo.es, Eli Zaretskii , emacs-devel@gnu.org To: Jan =?utf-8?Q?Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 20:49:06 2010 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.69) (envelope-from ) id 1NaaMT-0006Bu-2K for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 20:49:05 +0100 Original-Received: from localhost ([127.0.0.1]:54989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaaMS-0000fC-HP for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 14:49:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaaKs-0008Sb-KK for emacs-devel@gnu.org; Thu, 28 Jan 2010 14:47:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaaKn-0008S9-6U for emacs-devel@gnu.org; Thu, 28 Jan 2010 14:47:25 -0500 Original-Received: from [199.232.76.173] (port=47685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaaKm-0008S6-Sf for emacs-devel@gnu.org; Thu, 28 Jan 2010 14:47:20 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:52503) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NaaKk-0004Ow-Il; Thu, 28 Jan 2010 14:47:18 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id o0SJi6MJ004135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jan 2010 11:44:06 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id o0SJi58l028002; Thu, 28 Jan 2010 11:44:05 -0800 (PST) In-Reply-To: <4B61E20D.9030404@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Thu, 28 Jan 2010 20:14:21 +0100") Original-Lines: 28 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: o0SJi6MJ004135 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:120611 Archived-At: Jan Dj=C3=A4rv writes: > Eli Zaretskii skrev: > >> Date: Thu, 28 Jan 2010 15:57:02 +0100 > >> From: Jan Dj=C3=A4rv > >> Cc: emacs-devel@gnu.org > >> > >> I didn't mark any files. Probably vc takes that to mean the same > >> as marking edited files. This is a bug in vc that it tries to > >> check in individual files. > > > > What does VC do with other back ends when no files are marked? > > > > >=20 > If all modified files are in the same state (i.e. edited, as they > where in this case), vc commits them all. This is true for Git and > CVS at least. No, that's not how things are committed. If any entry is marked, then it tries to commit the set of marked entries. If no entry is marked, then it tries to commit the entry the cursor is on.= =20 - If the cursor is on a file, it will commit that file - If the cursor is on "./", or on any of the lines preceding "./" it will commit the current directory