equal
deleted
inserted
replaced
460 for colorname, label in items: |
460 for colorname, label in items: |
461 ui.write(('%s\n') % colorname, label=label) |
461 ui.write(('%s\n') % colorname, label=label) |
462 |
462 |
463 def _debugdisplaystyle(ui): |
463 def _debugdisplaystyle(ui): |
464 ui.write(_('available style:\n')) |
464 ui.write(_('available style:\n')) |
|
465 if not ui._styles: |
|
466 return |
465 width = max(len(s) for s in ui._styles) |
467 width = max(len(s) for s in ui._styles) |
466 for label, effects in sorted(ui._styles.items()): |
468 for label, effects in sorted(ui._styles.items()): |
467 ui.write('%s' % label, label=label) |
469 ui.write('%s' % label, label=label) |
468 if effects: |
470 if effects: |
469 # 50 |
471 # 50 |