Searching program for sorting cvs log output of several files

Stefan Schwarzer s.schwarzer at ndh.net
Fri Feb 15 16:09:04 EST 2002


Hello Pythonistas :)

I'm looking for a program who will generate the output of "cvs log"
for several files but make a single merged log of it with _all_
accumulated entries sorted by date and time.

Does anyone know such a program/module, preferably in Python? Thanks
in advance for all help.

Stefan


To clarify a bit more what I mean imagine (please excuse the long
text) the following command line session:

$ cvs log logfile.py  # ordinary cvs log
RCS file: /srv/idw3/data/cvsroot/idw3/bin/tools/logfile.py,v
Working file: logfile.py
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.2
date: 2001/11/17 16:40:31;  author: svss;  state: Exp;  lines: +13 -10
Removed method name().
Added methods error() and warning().
----------------------------
revision 1.1
date: 2001/11/16 22:40:13;  author: svss;  state: Exp;
Module to write customized logfiles.
=============================================================================

$ cvs log query_result.py  # ordinary cvs log
RCS file: /srv/idw3/data/cvsroot/idw3/bin/tools/query_result.py,v
Working file: query_result.py
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.2
date: 2002/02/09 20:12:08;  author: ifdp;  state: Exp;  lines: +5 -1
Changed QueryResult to iteration object.
----------------------------
revision 1.1
date: 2001/09/25 15:16:04;  author: ifdp;  state: Exp;
Now dbinterface is split into two modules: dbrow and query_result.
=============================================================================

$ cvslogmerge logfile.py query_result.py  # merged log, also sorted
revision 1.2 of query_result.py
date: 2002/02/09 20:12:08;  author: ifdp;  state: Exp;  lines: +5 -1
Changed QueryResult to iteration object.
----------------------------
revision 1.2 of logfile.py
date: 2001/11/17 16:40:31;  author: svss;  state: Exp;  lines: +13 -10
Removed method name().
Added methods error() and warning().
----------------------------
revision 1.1 of logfile.py
date: 2001/11/16 22:40:13;  author: svss;  state: Exp;
Module to write customized logfiles.
----------------------------
revision 1.1 of query_result.py
date: 2001/09/25 15:16:04;  author: ifdp;  state: Exp;
Now dbinterface is split into two modules: dbrow and query_result.
=============================================================================



More information about the Python-list mailing list