[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 <n_schumac...@web.de> wrote:
> Nordlöw <per.nord...@gmail.com> 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