MercurialWebTheme

insttheme

67:d7c03ac6cd58
2016-04-28 Paul Boddie Replaced xmlescape usage with escape since it is only employed between tags, thus removing the need to patch hgext.highlight. Moved the annotateline definition into the map in order to satisfy the highlight extension which cannot handle the separate definition.
     1 #!/bin/bash     2      3 if [[ ! $1 ]] ; then     4     echo "Please specify the location of the templates directory such as"     5     echo "/var/lib/python-support/python2.5/mercurial/templates or"     6     echo "/usr/lib/python2.5/site-packages/mercurial/templates"     7     echo "This should contain a static directory."     8     exit     9 fi    10     11 mkdir -p $1/mercurialweb    12 cp themes/mercurialweb/map $1/mercurialweb/    13 cp themes/mercurialweb/*.tmpl $1/mercurialweb/    14 cp themes/mercurialweb/static/*.css $1/static/    15 cp themes/mercurialweb/static/*.png $1/static/