From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: some vc-status updates Date: Wed, 09 Jan 2008 23:01:55 -0500 Message-ID: References: <200801090728.m097Son4004816@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199937729 4454 80.91.229.12 (10 Jan 2008 04:02:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 04:02:09 +0000 (UTC) Cc: Dan Nicolaescu , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 05:02:28 2008 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 1JCocc-0005zG-JG for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 05:02:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCocF-0002Q5-1c for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 23:02:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCocB-0002Or-3T for emacs-devel@gnu.org; Wed, 09 Jan 2008 23:01:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCocA-0002Nv-7o for emacs-devel@gnu.org; Wed, 09 Jan 2008 23:01:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCoc9-0002Nf-Vl for emacs-devel@gnu.org; Wed, 09 Jan 2008 23:01:58 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCoc9-0007Iv-GM for emacs-devel@gnu.org; Wed, 09 Jan 2008 23:01:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CANImhUfO+KVp/2dsb2JhbACpY4EA X-IronPort-AV: E=Sophos;i="4.24,264,1196658000"; d="scan'208";a="12495437" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 09 Jan 2008 23:01:55 -0500 Original-Received: from pastel.home ([206.248.165.105]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id QFL03156; Wed, 09 Jan 2008 23:01:56 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AD4737F44; Wed, 9 Jan 2008 23:01:55 -0500 (EST) In-Reply-To: (Tom Tromey's message of "Wed, 09 Jan 2008 19:00:26 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:86675 Archived-At: Dan> Probably not. But update needs a bit of work anyway: it does not work Dan> for VCSes that only do whole repository updates at a time (hg, git). > We can always error and tell the user that he has to do something > else. Or, we could do a full tree update and just show a subset of > what happens. I don't know which is best. It would be wrong to update files outside of the subtree displayed in the vc-status buffer. I.e. if the vc-status only displays a subtree and the backend can only update a whole tree at a time, vc-status should signal an error explaining it cannot perform the desired operation. Stefan