Mercurial > hg
comparison mercurial/sslutil.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 | 2d7fac049d3a |
children | 074bd02352c0 |
comparison
equal
deleted
inserted
replaced
19062:365b0de17c1c | 19063:7ae12ce87594 |
---|