On 13 Nov 2005 23:59:04 +0100, Matthieu Moy wrote:
> 
> Mikhael Goikhman <[EMAIL PROTECTED]> 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.


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@gnu.org
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to