[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: last modified info
From: |
Mikhael Goikhman |
Subject: |
Re: [Gnu-arch-users] Re: last modified info |
Date: |
Mon, 14 Nov 2005 03:10:40 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On 13 Nov 2005 23:59:04 +0100, Matthieu Moy wrote:
>
> Mikhael Goikhman <address@hidden> writes:
>
> > I may suggest to get "axp" and use "axp history" command that works on
> > local tree logs. Then you may run the following line:
> >
> > for file in `tla inventory -s -B`; echo $file; \
> > axp history --date $file | head -2 | tail -1; end
>
> For completeness: You have similar command in fai, and Bazaar 1.5 (not
> released yet) provides a --modifying FILE option for all commands
> showing a revision list (baz log, baz logs, baz ancestry, ...).
>
> (however, none of those solution provide an optimal way to achieve the
> result: the most recent log files will have to be read and parsed once
> for each file)
The last note is right. I enhanced axp and arch-perl a bit, so the
following command now produces the same output, but works much faster:
axp history --no-revision --filename --date --limit 1 '*'
Each relevant tree log is cached in memory and only parsed once.
Regards,
Mikhael.