all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: vc-find-root does not work for non-existent file argument
Date: Thu, 19 Jul 2007 14:51:17 -0400	[thread overview]
Message-ID: <jwvvecg1b4i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200707160050.l6G0oxfm014234@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Sun\, 15 Jul 2007 17\:50\:59 -0700")

> If FILE that is managed using either hg or bzr (both of which use
> vc-find-root) is deleted, doing C-x C-f FILE RET after that will not
> result emacs asking the question: "File FILE was lost; check out from
> version control? "

> The reason is that (vc-find-root FILE BLAH) returns nil, so VC thinks
> that FILE is not under version control. 
> vc-find-root returns nil because of the way the result of
> file-attributes is used...

I believe this is fixed now, but there seem to be a related problem left
over, ... working on it,


        Stefan

  reply	other threads:[~2007-07-19 18:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16  0:50 vc-find-root does not work for non-existent file argument Dan Nicolaescu
2007-07-19 18:51 ` Stefan Monnier [this message]
2007-07-20 17:56   ` Dan Nicolaescu
2007-07-20 18:09     ` Stefan Monnier
2007-07-21 16:59       ` Dan Nicolaescu
2007-07-23  5:38         ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=jwvvecg1b4i.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.