##// END OF EJS Templates
color: initialize color for the localrepo ui...
Pierre-Yves David -
r31111:95ec3ad6 default
parent child Browse files
Show More
@@ -28,6 +28,7 b' from . import ('
28 28 bundle2,
29 29 changegroup,
30 30 changelog,
31 color,
31 32 context,
32 33 dirstate,
33 34 dirstateguard,
@@ -285,6 +286,7 b' class localrepository(object):'
285 286 setupfunc(self.ui, self.supported)
286 287 else:
287 288 self.supported = self._basesupported
289 color.setup(self.ui)
288 290
289 291 # Add compression engines.
290 292 for name in util.compengines:
@@ -296,6 +296,7 b' test unknown color'
296 296 $ hg --config color.status.modified=periwinkle status
297 297 ignoring unknown color/effect 'periwinkle' (configured in color.status.modified)
298 298 ignoring unknown color/effect 'periwinkle' (configured in color.status.modified)
299 ignoring unknown color/effect 'periwinkle' (configured in color.status.modified)
299 300 M modified
300 301 \x1b[0;32;1mA \x1b[0m\x1b[0;32;1madded\x1b[0m (esc)
301 302 \x1b[0;32;1mA \x1b[0m\x1b[0;32;1mcopied\x1b[0m (esc)
General Comments 0
You need to be logged in to leave comments. Login now