help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Checking vc-state recursively under a directory


From: Nordlöw
Subject: Re: Checking vc-state recursively under a directory
Date: Wed, 23 Jul 2008 06:39:06 -0700 (PDT)
User-agent: G2/1.0

On 23 Juli, 15:03, Nikolaj Schumacher <address@hidden> wrote:
> Nordlöw <address@hidden> wrote:
> > Is it somehow possible to check whether all the files under a version-
> > controlled directory are all up-to-date (updated)? That is like vc-
> > state() but recursively for a directory?
>
> What do you mean?  up-to-date or updated?  up-to-date means
> (not (vc-workfile-unchanged-p "file")), while updated means something like
> (file-newer-than-file-p "file.elc" "file.el")

I looking for a function, say vc-dir-update(DIR),  that does "cvs
update" under DIR and returns 'up-to-date if no file was changed or
'patched if some file was updated.

/Nordlöw


reply via email to

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