From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Justin Bogner Newsgroups: gmane.emacs.devel Subject: Re: [patch] vc-find-root with invert Date: Mon, 21 Jul 2008 16:23:54 -0600 Message-ID: <48850C7A.6050800@justinbogner.com> References: <486E5CE0.5090004@justinbogner.com> <486E668E.2050600@justinbogner.com> <20080705072126.GA936@tomas> <4884B8FC.9040301@justinbogner.com> <488500C2.8060001@justinbogner.com> <85ej5maodw.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216679114 20605 80.91.229.12 (21 Jul 2008 22:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2008 22:25:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 22 00:26:02 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 1KL3pP-00057Q-81 for ged-emacs-devel@m.gmane.org; Tue, 22 Jul 2008 00:26:00 +0200 Original-Received: from localhost ([127.0.0.1]:60139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KL3oU-0001SW-Tn for ged-emacs-devel@m.gmane.org; Mon, 21 Jul 2008 18:25:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KL3nR-0000ic-DE for emacs-devel@gnu.org; Mon, 21 Jul 2008 18:23:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KL3nQ-0000gm-5b for emacs-devel@gnu.org; Mon, 21 Jul 2008 18:23:56 -0400 Original-Received: from [199.232.76.173] (port=43173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KL3nP-0000gQ-TQ for emacs-devel@gnu.org; Mon, 21 Jul 2008 18:23:56 -0400 Original-Received: from mx1.yottayotta.com ([198.161.246.32]:1681) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KL3nP-00052q-NK for emacs-devel@gnu.org; Mon, 21 Jul 2008 18:23:55 -0400 Original-Received: from [192.168.1.2] (helo=edm-exchange.yottayotta.com) by mx1.yottayotta.com with esmtp (Exim 4.63) (envelope-from ) id 1KL3nT-0001cC-4D for emacs-devel@gnu.org; Mon, 21 Jul 2008 16:23:59 -0600 Original-Received: from jbogner.edmonton.yottayotta.com ([10.0.3.192]) by edm-exchange.yottayotta.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 21 Jul 2008 16:23:54 -0600 User-Agent: Thunderbird 2.0.0.14 (X11/20080505) In-Reply-To: <85ej5maodw.fsf@lola.goethe.zz> X-OriginalArrivalTime: 21 Jul 2008 22:23:54.0120 (UTC) FILETIME=[75968880:01C8EB80] 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:101136 Archived-At: David Kastrup wrote: > Justin Bogner writes: >> However, for the other case, we need traverse upwards until we don't >> find the directory, returning the last one that does. > > Why? CVS or SVN do not do this either. Subdirectories with .svn in > them are self-contained work directories with associated repository > location. > >> As far as getting rid of invert, we could do that, and the function >> would then return something more reasonable than it does now, but it >> wouldn't actually find the root unless you happened to try the root >> first. > > There is no dedicated root in CVS or SVN. You never need to look at > .. in order to do local operations. You can move your directory out to > a different location under a different "root" and things will work just > the same from there. > > Which is pretty much the principal reason for every directory having its > own CVS or .svn subdirectories. > Is this still true if you need to do nonlocal operations? If so then this is indeed a misfeature. ps: sent to David and forgot to CC emacs-devel, sorry.