diff --git a/mercurial/templates/coal/map b/mercurial/templates/coal/map --- a/mercurial/templates/coal/map +++ b/mercurial/templates/coal/map @@ -158,36 +158,42 @@ tags = ../paper/tags.tmpl tagentry = ' - + {tag|escape} - {node|short} + + {node|short} + ' bookmarks = ../paper/bookmarks.tmpl bookmarkentry = ' - + {bookmark|escape} - {node|short} + + {node|short} + ' branches = ../paper/branches.tmpl branchentry = ' - + {branch|escape} - {node|short} + + {node|short} + ' changelogtag = '{name|escape} ' diff --git a/mercurial/templates/paper/map b/mercurial/templates/paper/map --- a/mercurial/templates/paper/map +++ b/mercurial/templates/paper/map @@ -161,36 +161,42 @@ tags = tags.tmpl tagentry = ' - + {tag|escape} - {node|short} + + {node|short} + ' bookmarks = bookmarks.tmpl bookmarkentry = ' - + {bookmark|escape} - {node|short} + + {node|short} + ' branches = branches.tmpl branchentry = ' - + {branch|escape} - {node|short} + + {node|short} + ' changelogtag = '{name|escape} ' diff --git a/tests/test-hgweb-symrev.t b/tests/test-hgweb-symrev.t --- a/tests/test-hgweb-symrev.t +++ b/tests/test-hgweb-symrev.t @@ -33,7 +33,7 @@ Set up the repo $ hg serve --config web.allow_archive=zip -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip)' + $ REVLINKS='href=[^>]+(rev=|/)(43c799df6e75|0|a7c1559b7bba|1|xyzzy|9d8c40cba617|2|tip|default)' (De)referencing symbolic revisions (paper) @@ -74,6 +74,18 @@ Set up the repo + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=paper' | egrep $REVLINKS + + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=paper' | egrep $REVLINKS + + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=paper' | egrep $REVLINKS + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=paper&rev=all()' | egrep $REVLINKS third second @@ -249,6 +261,18 @@ Set up the repo + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'branches?style=coal' | egrep $REVLINKS + + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'tags?style=coal' | egrep $REVLINKS + + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'bookmarks?style=coal' | egrep $REVLINKS + + + $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT 'shortlog?style=coal&rev=all()' | egrep $REVLINKS third second