Commit
Info
Änderung: 519:52f859951fc7
Nutzer: Arne Babenhauserheide <bab@draketo.de>
Datum: Sat Sep 03 12:30:44 2011 +0200
Zusammenfassung: nicer log: with tags.
parselog.sh | 4 ++--
1 Dateien verändert, 2 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)
--- a/parselog.sh 2012-04-15 11:51:39.858023942 +0200
+++ b/parselog.sh 2012-04-15 11:51:39.858023942 +0200
@@ -11,7 +11,7 @@ echo "*[RSS-feed](https://bitbucket.org/
# commits for the log
hg log --template "*<div style='float: right; padding-left: 0.5em'>({author|person})</div>*
## {date|shortdate}: <a href='commits/{node}.html'>{desc|strip|fill68|firstline}</a>\n\n\n\n{desc|escape}\n\n" href='commits/{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span>\n\n\n\n{desc|escape}\n\n" >> log.txt
# also do an index file for the commits
@@ -24,7 +24,7 @@ echo "<h1>Neuste Änderungen</h1>
" >> static/commits/index.html
hg log --template "<div style='float: right; padding-left: 0.5em'><em>({author|person})</em></div>
<h2>{date|shortdate}: <a href='{node}.html'>{desc|strip|fill68|firstline}</a></h2>\n\n<p>{desc|escape}</p>" href='{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span></h2>\n\n<p>{desc|escape}</p>\n\n" >> static/commits/index.html
cat static/commits/templates/file_foot.html >> static/commits/index.html
Diff
diff --git a/parselog.sh b/parselog.sh
--- a/parselog.sh
+++ b/parselog.sh
@@ -11,7 +11,7 @@ echo "*[RSS-feed](https://bitbucket.org/
# commits for the log
hg log --template "*<div style='float: right; padding-left: 0.5em'>({author|person})</div>*
-## {date|shortdate}: <a href='commits/{node}.html'>{desc|strip|fill68|firstline}</a>\n\n\n\n{desc|escape}\n\n" >> log.txt
+## {date|shortdate}: <a href='commits/{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span>\n\n\n\n{desc|escape}\n\n" >> log.txt
# also do an index file for the commits
@@ -24,7 +24,7 @@ echo "<h1>Neuste Änderungen</h1>
" >> static/commits/index.html
hg log --template "<div style='float: right; padding-left: 0.5em'><em>({author|person})</em></div>
-<h2>{date|shortdate}: <a href='{node}.html'>{desc|strip|fill68|firstline}</a></h2>\n\n<p>{desc|escape}</p>" >> static/commits/index.html
+<h2>{date|shortdate}: <a href='{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span></h2>\n\n<p>{desc|escape}</p>\n\n" >> static/commits/index.html
cat static/commits/templates/file_foot.html >> static/commits/index.html
Full export
# HG changeset patch
# User Arne Babenhauserheide <bab@draketo.de>
# Date 1315045844 -7200
# Node ID 52f859951fc753d94659e8bad1d7b1785b43c610
# Parent e7ea51ddbf9cc3b2172788b94db76a489818b338
nicer log: with tags.
diff --git a/parselog.sh b/parselog.sh
--- a/parselog.sh
+++ b/parselog.sh
@@ -11,7 +11,7 @@ echo "*[RSS-feed](https://bitbucket.org/
# commits for the log
hg log --template "*<div style='float: right; padding-left: 0.5em'>({author|person})</div>*
-## {date|shortdate}: <a href='commits/{node}.html'>{desc|strip|fill68|firstline}</a>\n\n\n\n{desc|escape}\n\n" >> log.txt
+## {date|shortdate}: <a href='commits/{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span>\n\n\n\n{desc|escape}\n\n" >> log.txt
# also do an index file for the commits
@@ -24,7 +24,7 @@ echo "<h1>Neuste Änderungen</h1>
" >> static/commits/index.html
hg log --template "<div style='float: right; padding-left: 0.5em'><em>({author|person})</em></div>
-<h2>{date|shortdate}: <a href='{node}.html'>{desc|strip|fill68|firstline}</a></h2>\n\n<p>{desc|escape}</p>" >> static/commits/index.html
+<h2>{date|shortdate}: <a href='{node}.html'>{desc|strip|fill68|firstline}</a> <span style='font-size: xx-small'>{branches} {tags}</span></h2>\n\n<p>{desc|escape}</p>\n\n" >> static/commits/index.html
cat static/commits/templates/file_foot.html >> static/commits/index.html
Alle Änderungen