emacs-devel
[Top][All Lists]
Advanced

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

Re: AW: behavior of vc-recompute-state in combination withvc-cvs-stay-lo


From: Stefan
Subject: Re: AW: behavior of vc-recompute-state in combination withvc-cvs-stay-local is t
Date: Tue, 30 Nov 2004 08:25:06 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

One more note about vc-recompute-state:

VC tries to handle CVS, RCS, SCCS, Arch, Subversion, and MetaCVS even if you
don't have the corresponding software installed.  The idea is that you might
visit a file under CVS control even if you don't have CVS.  So VC tried to
only use the underlying programs when the user requests and action.

vc-recompute-state is normally associated with an action (it's currently
only called from vc-next-action), so it is free to call the
underlying software.

If your program uses vc-recompute-state blindly, it might cause errors
because of files that are under the control of a revision control software
which Emacs knows but which is not installed in the system.

E.g. if the user does not have CVS installed but visits a file extracted
from a tarball that includes a CVS administrative subdir.


        Stefan




reply via email to

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