unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to test if a directory is under version control ?
@ 2003-11-05 12:11 François Fleuret
  2003-11-05 14:15 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: François Fleuret @ 2003-11-05 12:11 UTC (permalink / raw)


Hi people,

I am trying to write a simple function that would alert me when I edit
a file which is not under version-control, while the directory is.

To test if the file is under VC, I found vc-registered. For the
directory, if I do not find a more elegant way, I will end up looking
for a 'CVS' directory at the file's location, as I use CVS. But I
thought that there may be better solution ...

Any advice ?

Thanks in advance,

FF

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-06 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-05 12:11 How to test if a directory is under version control ? François Fleuret
2003-11-05 14:15 ` Stefan Monnier
2003-11-06 11:30   ` François Fleuret

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).