From: Dan Nicolaescu <dann@ics.uci.edu>
To: emacs-devel@gnu.org
Subject: vc-find-root does not work for non-existent file argument
Date: Sun, 15 Jul 2007 17:50:59 -0700 [thread overview]
Message-ID: <200707160050.l6G0oxfm014234@oogie-boogie.ics.uci.edu> (raw)
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...
next reply other threads:[~2007-07-16 0:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 0:50 Dan Nicolaescu [this message]
2007-07-19 18:51 ` vc-find-root does not work for non-existent file argument Stefan Monnier
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
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=200707160050.l6G0oxfm014234@oogie-boogie.ics.uci.edu \
--to=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 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).