unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Justin Bogner <mail@justinbogner.com>, emacs-devel@gnu.org
Subject: Re: [patch] vc-find-root with invert
Date: Sat, 5 Jul 2008 09:21:26 +0200	[thread overview]
Message-ID: <20080705072126.GA936@tomas> (raw)
In-Reply-To: <jwvej69fmw2.fsf-monnier+emacs@gnu.org>

-----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 under
> > version control has its own CVS directory.
> 
> 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ás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIbyD2Bcgs9XrR2kYRAoMlAJ9kLtd2W2uaZrjCHSiRNUZPxy9XRgCcDtYh
WIccVoYI/fT5wTr32KYunBs=
=3xNV
-----END PGP SIGNATURE-----




  reply	other threads:[~2008-07-05  7:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-04 17:24 [patch] vc-find-root with invert Justin Bogner
2008-07-04 18:02 ` Stefan Monnier
2008-07-04 18:06   ` Justin Bogner
2008-07-04 19:52     ` Stefan Monnier
2008-07-05  7:21       ` tomas [this message]
2008-07-21 16:27         ` Justin Bogner
2008-07-21 18:32           ` Stefan Monnier
2008-07-21 21:33             ` Justin Bogner
2008-07-21 22:00               ` David Kastrup
2008-07-21 22:23                 ` Justin Bogner
2008-07-21 23:02                   ` David Kastrup
2008-07-23  4:35                     ` Justin Bogner
2008-07-23 19:35                       ` Stefan Monnier
2008-07-22  2:56               ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2008-07-04 17:47 Justin Bogner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080705072126.GA936@tomas \
    --to=tomas@tuxteam.de \
    --cc=emacs-devel@gnu.org \
    --cc=mail@justinbogner.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).