From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: [patch] vc-find-root with invert Date: Sat, 5 Jul 2008 09:21:26 +0200 Message-ID: <20080705072126.GA936@tomas> References: <486E5CE0.5090004@justinbogner.com> <486E668E.2050600@justinbogner.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215242295 2489 80.91.229.12 (5 Jul 2008 07:18:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 07:18:15 +0000 (UTC) Cc: Justin Bogner , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 05 09:19:01 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 1KF22v-0000u2-Et for ged-emacs-devel@m.gmane.org; Sat, 05 Jul 2008 09:19:01 +0200 Original-Received: from localhost ([127.0.0.1]:52089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KF224-0002So-CX for ged-emacs-devel@m.gmane.org; Sat, 05 Jul 2008 03:18:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KF21y-0002Sj-Ln for emacs-devel@gnu.org; Sat, 05 Jul 2008 03:18:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KF21w-0002SX-SJ for emacs-devel@gnu.org; Sat, 05 Jul 2008 03:18:01 -0400 Original-Received: from [199.232.76.173] (port=43610 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KF21w-0002SU-K5 for emacs-devel@gnu.org; Sat, 05 Jul 2008 03:18:00 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:4058) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KF21w-0001hG-Co for emacs-devel@gnu.org; Sat, 05 Jul 2008 03:18:00 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104] helo=www.elogos.de) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KF21u-0005rd-Hc for emacs-devel@gnu.org; Sat, 05 Jul 2008 03:17:58 -0400 Original-Received: by www.elogos.de (Postfix, from userid 1000) id BB96454002; Sat, 5 Jul 2008 09:21:26 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:100362 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Jul 04, 2008 at 03:52:48PM -0400, Stefan Monnier wrote: > >>> Here's a patch that fixes a bug I've noticed in vc-find-root. When = called [...] > > I believe that it's for systems like CVS, where each subdirectory und= er > > version control has its own CVS directory. >=20 > Sorry, but that doesn't help me ;-( > Anyone has a more complete explanation? Reading the docstring, my guess would be: vc-find-root walks the dir tree up _until_ it finds WITNESS (as an evidence for the VC tree's root dir). Unless we have CVS or SVN or similar, where every subdir has WITNESS, so the root would be the last up-tree directory having WITNESS. But I might be off-by-one ;-) Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIbyD2Bcgs9XrR2kYRAoMlAJ9kLtd2W2uaZrjCHSiRNUZPxy9XRgCcDtYh WIccVoYI/fT5wTr32KYunBs=3D =3D3xNV -----END PGP SIGNATURE-----