Miroslav Novák


/ : Obsah / Contents | Piškvorky / Gomoku | Algoritmus Piškvorek | Hlubina / Depth | Hadi / Snakes | Super Střílečka II / Super Shooting II | Gred | Kufr | Robůtek / Mini Robot | Cvssvnlog | Qemu Brake | Pay MUZO

Cvssvnlog

Nástroj cvssvnlog je filtr určený pro převod logu generovaného programem cvs do tvaru jaký generuje svn, a který je podle mého názoru mnohem přehlednější.

The tool cvssvnlog is a filter used to transform output of cvs log to svn log style.

The advantage of Subverison (SVN) in my opinion is that it numbers every commit by unique revision number, thus it is possible to see the revision history of a whole directory with files changed in particular commits. I found this feature so useful, mainly when cooperating with other developers, that I couldn't use CVS without it any more. So here is my solution cvssvnlog.

Usage: cvs log | [python] cvssvnlog.py [-v]
Filter changing cvs log output to svn log style.

The cvssvnlog is implemented as a python filter that loads the CVS log, which contains not so convenient list of logs for every file separately, and merges the information on per commit base. The commits are distinguished by date and by commitid information.

PlaGomokunned: tag and branches support

Download

cvssvnlog.py

Sample output without and with the filter

cvs logcvs log | cvssvnlog.py -v
? gen
? nahled-novy.png
? nahled-novy2.png
? nahled-novy3.png
? nahled-novy4.png
? nahled-standa.png
? nahled.php
? pok.html
? pok2.html
? prez
? puzzles.sud
? puzzles4x10.sud
? scored.sud
? server.php
? sudlogsvn.txt
? x.html
cvs log: Logging .

RCS file: /home/mira/cvsroot-mir/sudoku/client.html,v
Working file: client.html
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5;     selected revisions: 5
description:
----------------------------
revision 1.5
date: 2007/04/23 15:11:56;  author: mira;  state: Exp;  lines: +41 -18
ukazuji se vysledky pri existenci pole "sol"
----------------------------
revision 1.4
date: 2007/04/20 14:19:16;  author: mira;  state: Exp;  lines: +5 -7
zvetseno klikaci pole pro mala cislicka
----------------------------
revision 1.3
date: 2007/04/20 13:59:21;  author: mira;  state: Exp;  lines: +4 -6
uprava vzhledu
----------------------------
revision 1.2
date: 2007/04/19 20:55:15;  author: mira;  state: Exp;  lines: +64 -10
dorazeny styly
----------------------------
revision 1.1
date: 2007/04/19 15:40:04;  author: mira;  state: Exp;
nahled v js
=============================================================================

RCS file: /home/mira/cvsroot-mir/sudoku/sudoku-ceskykutil.otl,v
Working file: sudoku-ceskykutil.otl
head: 1.2
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.2
date: 2007/05/09 16:58:01;  author: mira;  state: Exp;  lines: +15 -0
odstranena chyba s porovnavanim dlouhych retezcu obsahujici cislice
----------------------------
revision 1.1
date: 2007/04/26 17:13:14;  author: mira;  state: Exp;
funguje score
=============================================================================

RCS file: /home/mira/cvsroot-mir/sudoku/sudoku.js,v
Working file: sudoku.js
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;     selected revisions: 1
description:
----------------------------
revision 1.1
date: 2007/04/26 17:13:14;  author: mira;  state: Exp;
funguje score
=============================================================================

RCS file: /home/mira/cvsroot-mir/sudoku/sudoku.php,v
Working file: sudoku.php
head: 1.4
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 4;     selected revisions: 4
description:
----------------------------
revision 1.4
date: 2007/05/15 14:05:35;  author: mira;  state: Exp;  lines: +21 -5
beta prezentace
----------------------------
revision 1.3
date: 2007/05/14 13:18:00;  author: mira;  state: Exp;  lines: +75 -34
uprava vzhledu
----------------------------
revision 1.2
date: 2007/05/09 16:58:02;  author: mira;  state: Exp;  lines: +2 -1
odstranena chyba s porovnavanim dlouhych retezcu obsahujici cislice
----------------------------
revision 1.1
date: 2007/04/26 17:13:14;  author: mira;  state: Exp;
funguje score
=============================================================================
	
cvs log: Logging .
-------------------------------------------------------------------------------
mira | 2007/05/15 14:05:35
Changed paths:
    M sudoku.php        1.4

beta prezentace

-------------------------------------------------------------------------------
mira | 2007/05/14 13:18:00
Changed paths:
    M sudoku.php        1.3

uprava vzhledu

-------------------------------------------------------------------------------
mira | 2007/05/09 16:58:02
Changed paths:
    M sudoku.php        1.2

odstranena chyba s porovnavanim dlouhych retezcu obsahujici cislice

-------------------------------------------------------------------------------
mira | 2007/05/09 16:58:01
Changed paths:
    M sudoku-ceskykutil.otl     1.2

odstranena chyba s porovnavanim dlouhych retezcu obsahujici cislice

-------------------------------------------------------------------------------
mira | 2007/04/26 17:13:14
Changed paths:
    A sudoku-ceskykutil.otl     1.1
    A sudoku.js         1.1
    A sudoku.php        1.1

funguje score

-------------------------------------------------------------------------------
mira | 2007/04/23 15:11:56
Changed paths:
    M client.html       1.5

ukazuji se vysledky pri existenci pole "sol"

-------------------------------------------------------------------------------
mira | 2007/04/20 14:19:16
Changed paths:
    M client.html       1.4

zvetseno klikaci pole pro mala cislicka

-------------------------------------------------------------------------------
mira | 2007/04/20 13:59:21
Changed paths:
    M client.html       1.3

uprava vzhledu

-------------------------------------------------------------------------------
mira | 2007/04/19 20:55:15
Changed paths:
    M client.html       1.2

dorazeny styly

-------------------------------------------------------------------------------
mira | 2007/04/19 15:40:04
Changed paths:
    A client.html       1.1

nahled v js

-------------------------------------------------------------------------------

	

 


E-mail: novakmiroslavpost.cz