# HG changeset patch # User krauss # Date 1303303380 -7200 # Node ID 79ef651d88eb4df1f386781a6455928ae13fb112 # Parent 64176801794a80ea3eda7664aaf8c5bedc61dae1 use unified diff format (diff -Naur), which is much more robust and generally preferred -- previous patch failed to apply even in simple situations diff -r 64176801794a -r 79ef651d88eb Admin/Mercurial/isabelle-style-1.3.1.diff --- a/Admin/Mercurial/isabelle-style-1.3.1.diff Wed Apr 20 14:42:56 2011 +0200 +++ b/Admin/Mercurial/isabelle-style-1.3.1.diff Wed Apr 20 14:43:00 2011 +0200 @@ -1,73 +1,140 @@ -diff -r gitweb/changelogentry.tmpl isabelle/changelogentry.tmpl -2,8c2,3 -< {date|age} ago{desc|strip|firstline|escape|nonempty} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} -< -<
-< -< {author|obfuscate} [{date|rfc822date}] rev {rev}
---- -> {date|age} -> {author|obfuscate} [{date|rfc822date}] rev {rev} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} -12a8,10 ->
-> {files} ->
-diff -r gitweb/changeset.tmpl isabelle/changeset.tmpl -32c32 -< {date|date} ({date|age} ago) ---- -> {date|date} ({date|age}) -diff -r gitweb/fileannotate.tmpl isabelle/fileannotate.tmpl -39c39 -< {date|date} ({date|age} ago) ---- -> {date|date} ({date|age}) -diff -r gitweb/filerevision.tmpl isabelle/filerevision.tmpl -39c39 -< {date|date} ({date|age} ago) ---- -> {date|date} ({date|age}) -diff -r gitweb/graph.tmpl isabelle/graph.tmpl -66c66 -< revlink += '_DATE ago, by _USER'; ---- -> revlink += '_DATE, by _USER'; -diff -r gitweb/map isabelle/map -81c81 -< title="{node|short}: {desc|escape|firstline}">{author|user}@{rev} ---- -> title="{node|short}: {desc|escape}">{author|user}@{rev} -153c153 -< {date|age} ago ---- -> {date|age} -164c164 -< {date|age} ago ---- -> {date|age} -207c207 -< {date|age} ago ---- -> {date|age} -208a209 -> {date|shortdate} -211c212 -< {desc|strip|firstline|escape|nonempty} ---- -> {desc|strip|escape|nonempty} -222c223,225 -< {date|age} ago ---- -> {date|age} -> {author|person} -> {date|shortdate} -225c228 -< {desc|strip|firstline|escape|nonempty} ---- -> {desc|strip|escape|nonempty} -241c244 -< {lastchange|age} ago ---- -> {lastchange|age} +diff -Naur gitweb/changelogentry.tmpl isabelle/changelogentry.tmpl +--- gitweb/changelogentry.tmpl 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/changelogentry.tmpl 2011-04-20 12:13:37.000000000 +0200 +@@ -1,14 +1,12 @@ +
+-{date|age} ago{desc|strip|firstline|escape|nonempty} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} +-
+-
+- +-{author|obfuscate} [{date|rfc822date}] rev {rev}
++{date|age} ++{author|obfuscate} [{date|rfc822date}] rev {rev} {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} +
+
+ {desc|strip|escape|addbreaks|nonempty} +
++
++{files} ++
+
+
+diff -Naur gitweb/changeset.tmpl isabelle/changeset.tmpl +--- gitweb/changeset.tmpl 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/changeset.tmpl 2011-04-20 12:13:37.000000000 +0200 +@@ -29,7 +29,7 @@ +
+ + +- ++ + {branch%changesetbranch} + + {parent%changesetparent} +diff -Naur gitweb/fileannotate.tmpl isabelle/fileannotate.tmpl +--- gitweb/fileannotate.tmpl 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/fileannotate.tmpl 2011-04-20 12:13:37.000000000 +0200 +@@ -36,7 +36,7 @@ + + + +- ++ + {branch%filerevbranch} + + +diff -Naur gitweb/filerevision.tmpl isabelle/filerevision.tmpl +--- gitweb/filerevision.tmpl 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/filerevision.tmpl 2011-04-20 12:13:37.000000000 +0200 +@@ -36,7 +36,7 @@ + + + +- ++ + {branch%filerevbranch} + + +diff -Naur gitweb/graph.tmpl isabelle/graph.tmpl +--- gitweb/graph.tmpl 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/graph.tmpl 2011-04-20 12:13:37.000000000 +0200 +@@ -63,7 +63,7 @@ + var revlink = '
  • '; + revlink += '_DESC'; + revlink += ' _TAGS'; +-revlink += '_DATE ago, by _USER
  • '; ++revlink += '_DATE, by _USER'; + + graph.vertex = function(x, y, color, parity, cur) { + +diff -Naur gitweb/map isabelle/map +--- gitweb/map 2011-04-20 12:13:37.000000000 +0200 ++++ isabelle/map 2011-04-20 12:13:37.000000000 +0200 +@@ -78,7 +78,7 @@ + + + + +@@ -150,7 +150,7 @@ + tags = tags.tmpl + tagentry = ' + +- ++ + + +- ++ + + + +- ++ + ++ + +@@ -219,10 +220,12 @@ + ' + filelogentry = ' + +- ++ ++ ++ + + + + +- ++ + + + \n'
    author{author|obfuscate}
    {date|date} ({date|age} ago)
    {date|date} ({date|age})
    changeset {rev}{node|short}
    {author|obfuscate}
    {date|date} ({date|age} ago)
    {date|date} ({date|age})
    changeset {rev}{author|obfuscate}
    {date|date} ({date|age} ago)
    {date|date} ({date|age})
    changeset {rev}
    + {author|user}@{rev} ++ title="{node|short}: {desc|escape}">{author|user}@{rev} +
    {linenumber}
    {line|escape}
    {date|age} ago{date|age}{tag|escape}
    {date|age} ago{date|age}{node|short}{branch|escape}
    {date|age} ago{date|age}{author|person}{date|shortdate} + +- {desc|strip|firstline|escape|nonempty} ++ {desc|strip|escape|nonempty} + {inbranch%inbranchtag}{branches%branchtag}{tags%tagtag} + +
    {date|age} ago{date|age}{author|person}{date|shortdate} + +- {desc|strip|firstline|escape|nonempty} ++ {desc|strip|escape|nonempty} + + {description}{contact|obfuscate}{lastchange|age} ago{lastchange|age}