From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: vc-directory breakage Date: Tue, 6 May 2008 05:01:28 -0400 Organization: Eric Conspiracy Secret Labs Message-ID: <20080506090128.GG23773@thyrsus.com> References: <20080505152149.E5BB99F054B@snark.thyrsus.com> <857ie8ahr3.fsf@lola.goethe.zz> <20080506000456.GA14206@thyrsus.com> <200805060036.m460aVto021222@sallyv1.ics.uci.edu> <20080506004849.GA14523@thyrsus.com> <200805060110.m461A565005739@sallyv1.ics.uci.edu> Reply-To: esr@thyrsus.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210065319 31319 80.91.229.12 (6 May 2008 09:15:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 09:15:19 +0000 (UTC) Cc: "Eric S. Raymond" , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 06 11:15:52 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 1JtJH5-00067Z-Tg for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 11:15:52 +0200 Original-Received: from localhost ([127.0.0.1]:37325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtJGN-0001mr-Ci for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 05:15:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtJ2X-0002fV-H8 for emacs-devel@gnu.org; Tue, 06 May 2008 05:00:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtJ2W-0002e6-6V for emacs-devel@gnu.org; Tue, 06 May 2008 05:00:48 -0400 Original-Received: from [199.232.76.173] (port=59345 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtJ2W-0002e0-0M for emacs-devel@gnu.org; Tue, 06 May 2008 05:00:48 -0400 Original-Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5] helo=snark.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtJ2V-0006BV-PX for emacs-devel@gnu.org; Tue, 06 May 2008 05:00:48 -0400 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id B301D9F054C; Tue, 6 May 2008 05:01:28 -0400 (EDT) Content-Disposition: inline In-Reply-To: <200805060110.m461A565005739@sallyv1.ics.uci.edu> X-Eric-Conspiracy: There is no conspiracy User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by monty-python.gnu.org: 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:96575 Archived-At: Dan Nicolaescu : > > The recommended change may be a good idea, but I'm not sure. > > Those backend checks are now being done at file granularity > > because some people were vocal about support for mixing multiple > > VCSes in a directory. If we depended on a per-directory > > buffer-local variable, that would get more difficult. > > Stefan just explained this one. Yes, but his explanation left me more confused than before :-) I still don't get why per-directory caching helps anything. > > What is the actual failure you are seeing? > > For a mercurial repo: > > intern(nil [0 0 0 0 Makefile\.mk 0 0 0 0 0 0 0 0 0 ~/r/hgtest/ 0 0]) > vc-file-getprop(nil vc-mtn-root) > vc-mtn-root("Makefile.mk") > vc-mtn-responsible-p("Makefile.mk") > apply(vc-mtn-responsible-p "Makefile.mk") > vc-call-backend(Mtn responsible-p "Makefile.mk") This looks to me like a failure in the root backend method, not a generic problem in the VC front end. What am I missing here? -- Eric S. Raymond