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: vc-*-root finctions Date: Thu, 21 Feb 2008 14:33:57 -0500 Message-ID: References: <87skzn3mq9.fsf@ambire.localdomain> <87mypvxzd2.fsf@ambire.localdomain> <200802201850.m1KIofIk000198@sallyv1.ics.uci.edu> <87tzk2xr2q.fsf@ambire.localdomain> <200802211835.m1LIZcZ5005055@sallyv1.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 1203622462 15493 80.91.229.12 (21 Feb 2008 19:34:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Feb 2008 19:34:22 +0000 (UTC) Cc: Thien-Thi Nguyen , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 20:34:45 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 1JSHBm-0002rX-9a for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 20:34:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSHBH-0000JM-6H for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2008 14:34:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JSHBA-0000FC-Uo for emacs-devel@gnu.org; Thu, 21 Feb 2008 14:34:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JSHB8-0000Cq-Tt for emacs-devel@gnu.org; Thu, 21 Feb 2008 14:34:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JSHB8-0000Cd-N6 for emacs-devel@gnu.org; Thu, 21 Feb 2008 14:33: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 1JSHB8-00089n-EH for emacs-devel@gnu.org; Thu, 21 Feb 2008 14:33:58 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAAdhvUfO+J2cdGdsb2JhbACQXQEwn2uBAg X-IronPort-AV: E=Sophos;i="4.25,387,1199682000"; d="scan'208";a="14811933" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 21 Feb 2008 14:33:57 -0500 Original-Received: from pastel.home ([206.248.157.156]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id BVC64557; Thu, 21 Feb 2008 14:33:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 4801D8A37; Thu, 21 Feb 2008 14:33:57 -0500 (EST) In-Reply-To: <200802211835.m1LIZcZ5005055@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 21 Feb 2008 10:35:38 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:89852 Archived-At: > Which would be wrong. git might be fast, but it takes a long time if it > has to read the inodes from disk or NFS on a big tree (which happens > every morning or after a big compilation job). BTW, now that I think a bit more about it: the `dir-status' function can almost always be synchronous (and never contact a remote repository). In PCL-CVS that function is called `cvs-quickdir', which I consider to be the main entry point. [ Oddly Arch is one of the very few VCS for which figuring out the local status of a file may *require* contacting a remote repository, so it's probably the only backend for which an async dir-status would be necessary. ] The asynchronous behavior is only important for all the other operations you'll want to perform later (once you already have a vc-status buffer with which to work): update/merge/pull, commit/push. Stefan