Mercurial > hg-stable
view mercurial/templates/raw/map @ 19063:7ae12ce87594
color: set the ui class in reposetup, before a repo is created
Previously only the class of repo.ui was set. The class was set in the wrapper
of dispatch._runcommand. But this is called after the repo is created. Only
the class of repo.ui is set because repo.baseui already exists and is not
accessible.
We now set the class in uisetup because this is called before repo creation.
This is also the place suggested in the wiki for modifying classes.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Thu, 18 Apr 2013 23:53:24 +0200 |
parents | 323de4f49bd1 |
children | c8490dcc5fb3 |
line wrap: on
line source
default = 'shortlog' shortlog = "'raw' is not a browsable style" mimetype = 'text/plain; charset={encoding}' header = '' footer = '' changeset = changeset.tmpl difflineplus = '{line}' difflineminus = '{line}' difflineat = '{line}' diffline = '{line}' changesetparent = '# Parent {node}' changesetchild = '# Child {node}' filenodelink = '' filenolink = '' fileline = '{line}' diffblock = '{lines}' filediff = filediff.tmpl fileannotate = fileannotate.tmpl annotateline = '{author|user}@{rev}: {line}' manifest = manifest.tmpl direntry = 'drwxr-xr-x {basename}\n' fileentry = '{permissions|permissions} {size} {basename}\n' index = index.tmpl notfound = notfound.tmpl error = error.tmpl indexentry = '{url}\n' tags = '{entries%tagentry}' tagentry = '{tag} {node}\n' bookmarks = '{entries%bookmarkentry}' bookmarkentry = '{bookmark} {node}\n' branches = '{entries%branchentry}' branchentry = '{branch} {node} {status}\n' graph = graph.tmpl graphnode = graphnode.tmpl graphedge = graphedge.tmpl bookmarkname = 'bookmark: {name}\n' branchname = 'branch: {name}\n' tagname = 'tag: {name}\n'