1w6

Commit

Info

Änderung:        733:e00965489c09
Nutzer:          Arne Babenhauserheide <bab@draketo.de>
Datum:           Sun Apr 15 11:31:07 2012 +0200
Zusammenfassung: parselog: use wdiff and diff, because wdiff currently has a bug which omits added lines (bug report already sent).

 parselog.sh |  2 ++
 1 Dateien verändert, 2 Zeilen hinzugefügt(+), 0 Zeilen entfernt(-)

--- a9/parselog.sh	2012-04-15 11:46:03.444455065 +0200
+++ b9/parselog.sh	2012-04-15 11:46:03.444455065 +0200
@@ -36,6 +36,8 @@ for i in $(hg log --template "{node} ");
        echo "<h1>Commit</h1><pre style='white-space: pre-wrap'>" >> static/commits/$i.html
        hg log --color true --stat -r $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
        hg wdiff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
		echo >> static/commits/$i.html
        hg diff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
        echo "</pre>" >> static/commits/$i.html
        echo "<p><a href='index.html'>Alle Änderungen</a></p>" >> static/commits/$i.html
        cat static/commits/templates/file_foot.html >> static/commits/$i.html

Diff

diff --git a/parselog.sh b/parselog.sh
--- a/parselog.sh
+++ b/parselog.sh
@@ -36,6 +36,8 @@ for i in $(hg log --template "{node} ");
         echo "<h1>Commit</h1><pre style='white-space: pre-wrap'>" >> static/commits/$i.html
         hg log --color true --stat -r $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
         hg wdiff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
+		echo >> static/commits/$i.html
+        hg diff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
         echo "</pre>" >> static/commits/$i.html
         echo "<p><a href='index.html'>Alle Änderungen</a></p>" >> static/commits/$i.html
         cat static/commits/templates/file_foot.html >> static/commits/$i.html

Full export

# HG changeset patch
# User Arne Babenhauserheide <bab@draketo.de>
# Date 1334482267 -7200
# Node ID e00965489c09713279b15719616bc1b884620e45
# Parent  4906858347e953c52e475e97e1972582e407c098
parselog: use wdiff and diff, because wdiff currently has a bug which omits added lines (bug report already sent).

diff --git a/parselog.sh b/parselog.sh
--- a/parselog.sh
+++ b/parselog.sh
@@ -36,6 +36,8 @@ for i in $(hg log --template "{node} ");
         echo "<h1>Commit</h1><pre style='white-space: pre-wrap'>" >> static/commits/$i.html
         hg log --color true --stat -r $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
         hg wdiff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
+		echo >> static/commits/$i.html
+        hg diff --color true -c $i | ansifilter --html --fragment -e utf-8 >> static/commits/$i.html
         echo "</pre>" >> static/commits/$i.html
         echo "<p><a href='index.html'>Alle Änderungen</a></p>" >> static/commits/$i.html
         cat static/commits/templates/file_foot.html >> static/commits/$i.html

Alle Änderungen


Created with pyMarkdown Minisite
using the layout from the pybrary and 1w6-sleek.