From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: Checking vc-state recursively under a directory Date: Mon, 28 Jul 2008 20:31:33 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <488e1e87$0$90264$14726298@news.sunsite.dk> References: <0e75864d-6e18-45e5-93d5-73757209b817@x35g2000hsb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217274189 29784 80.91.229.12 (28 Jul 2008 19:43:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2008 19:43:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 21:43:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KNYdJ-0005qL-7W for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 21:43:49 +0200 Original-Received: from localhost ([127.0.0.1]:46906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KNYcP-00052d-5Y for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2008 15:42:53 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Icedove 1.5.0.14eol (X11/20080509) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 25 Original-NNTP-Posting-Host: 62.56.56.74 Original-X-Trace: news.sunsite.dk DXC=9P0BCbZ=PTooTl; T5Cm>CYcVoe:8PLn^oLAe_QlDMRP4TXa Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:160651 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55999 Archived-At: Nikolaj Schumacher wrote: > > Since you don't have a revision to compare against that function would > not be idempotent, and if you called "cvs update" manually in-between, > it wouldn't catch the change, either. That's different from what > `vc-state' does, which compares the working copy against the > checkout-out revision (like "svn status"), but doesn't check if the > repository has something newer. > In this case, the OP would want to use (nth (file-attributes filename) 5) for all files in the directory of interest. This gives the mtime of the file as a list, in the same format as (current-time) except that (current-time) gives usec as well. > > > regards, > Nikolaj Schumacher > > -- Replace the obvious in my email address with the first three letters of the hostname to reply.