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: Fri, 04 Jul 2008 12:06:06 -0600 Message-ID: <486E668E.2050600@justinbogner.com> References: <486E5CE0.5090004@justinbogner.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215194822 22489 80.91.229.12 (4 Jul 2008 18:07:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2008 18:07:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 04 20:07:49 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 1KEpge-0006m5-I9 for ged-emacs-devel@m.gmane.org; Fri, 04 Jul 2008 20:07:12 +0200 Original-Received: from localhost ([127.0.0.1]:42425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEpfn-0007EQ-Pd for ged-emacs-devel@m.gmane.org; Fri, 04 Jul 2008 14:06:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEpfj-0007EB-6m for emacs-devel@gnu.org; Fri, 04 Jul 2008 14:06:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEpff-0007B8-OR for emacs-devel@gnu.org; Fri, 04 Jul 2008 14:06:14 -0400 Original-Received: from [199.232.76.173] (port=52872 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEpff-0007Au-4h for emacs-devel@gnu.org; Fri, 04 Jul 2008 14:06:11 -0400 Original-Received: from mx1.yottayotta.com ([198.161.246.32]:1605) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KEpfe-0002Vc-HE for emacs-devel@gnu.org; Fri, 04 Jul 2008 14:06:11 -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 1KEphz-0007sj-Aq for emacs-devel@gnu.org; Fri, 04 Jul 2008 12:08:35 -0600 Original-Received: from jbogner.edmonton.yottayotta.com ([10.0.3.192]) by edm-exchange.yottayotta.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 4 Jul 2008 12:06:06 -0600 User-Agent: Thunderbird 2.0.0.14 (X11/20080505) In-Reply-To: X-OriginalArrivalTime: 04 Jul 2008 18:06:06.0681 (UTC) FILETIME=[A140E490:01C8DE00] 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:100350 Archived-At: Stefan Monnier wrote: >> Here's a patch that fixes a bug I've noticed in vc-find-root. When called >> with `invert' equal to `t', the current implementation is returning `file' >> verbatim if a file name is given, and also if `witness' doesn't exist >> at all. > > Can someone remind me why we have this `invert' monster? > > > Stefan I believe that it's for systems like CVS, where each subdirectory under version control has its own CVS directory. -- Justin Bogner