emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vc-find-root does not work for non-existent file argument


From: Dan Nicolaescu
Subject: vc-find-root does not work for non-existent file argument
Date: 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...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]