Split branchtags into two additional functions.
This makes it easier to override only parts of the cache saving process.
#header#<title>Mercurial Error</title></head><body><h2>Mercurial Error</h2><p>An error occured while processing your request:</p><p>#error|escape#</p>#footer#