diff --git a/templates/coal/map b/templates/coal/map --- a/templates/coal/map +++ b/templates/coal/map @@ -56,6 +56,8 @@ changelogchild = ' fileannotatechild = 'child:{node|short}' tags = ../paper/tags.tmpl tagentry = '{tag|escape}{node|short}' +branches = ../paper/branches.tmpl +branchentry = '{branch|escape}{node|short}' changelogtag = '{name|escape} ' changesettag = '{tag|escape} ' changelogbranchhead = '{name|escape} ' diff --git a/templates/paper/branches.tmpl b/templates/paper/branches.tmpl new file mode 100644 --- /dev/null +++ b/templates/paper/branches.tmpl @@ -0,0 +1,45 @@ +{header} +{repo|escape}: branches + + + + + +
+ + +
+

{repo|escape}

+

branches

+ + + + + + + + +{entries%branchentry} +
branchnode
+
+
+ +{footer} diff --git a/templates/paper/changeset.tmpl b/templates/paper/changeset.tmpl --- a/templates/paper/changeset.tmpl +++ b/templates/paper/changeset.tmpl @@ -12,6 +12,7 @@
  • log
  • graph
  • tags
  • +
  • branches
  • diff --git a/templates/paper/fileannotate.tmpl b/templates/paper/fileannotate.tmpl --- a/templates/paper/fileannotate.tmpl +++ b/templates/paper/fileannotate.tmpl @@ -13,6 +13,7 @@
  • log
  • graph
  • tags
  • +
  • branches
  • diff --git a/templates/paper/shortlog.tmpl b/templates/paper/shortlog.tmpl --- a/templates/paper/shortlog.tmpl +++ b/templates/paper/shortlog.tmpl @@ -17,6 +17,7 @@
  • log
  • graph
  • tags
  • +
  • branches
  • diff --git a/tests/test-hgweb-descend-empties.out b/tests/test-hgweb-descend-empties.out --- a/tests/test-hgweb-descend-empties.out +++ b/tests/test-hgweb-descend-empties.out @@ -28,6 +28,7 @@ 200 Script output follows
  • log
  • graph
  • tags
  • +
  • branches
  • diff --git a/tests/test-hgweb-removed.out b/tests/test-hgweb-removed.out --- a/tests/test-hgweb-removed.out +++ b/tests/test-hgweb-removed.out @@ -24,6 +24,7 @@ 200 Script output follows
  • log
  • graph
  • tags
  • +
  • branches
  • @@ -111,6 +112,7 @@ 404 Not Found
  • log
  • graph
  • tags
  • +
  • branches
  • diff --git a/tests/test-highlight.out b/tests/test-highlight.out --- a/tests/test-highlight.out +++ b/tests/test-highlight.out @@ -26,6 +26,7 @@ 200 Script output follows
  • log
  • graph
  • tags
  • +
  • branches