diff mercurial/templatefilters.py @ 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 c2d079387b2c
children 8eef5b93db9d
line wrap: on
line diff