sapling/tests/test-bookmarks-current.out
Brodie Rao e46074c7b3 color: colorize based on output labels instead of parsing output
By overriding ui.write(), ui.write_err(), ui.popbuffer(), and ui.label(),
the color extension can avoid parsing command output and simply colorize
output based on labels.

As before, the color extension provides a list of default colors for
core commands/labels. Other extensions can provide their own defaults by
specifying a colortable dict (similar to cmdtable).

In this process, --color is promoted to a global option and the deprecated
--no-color option is removed.
2010-04-02 15:22:17 -05:00

797 B

% no bookmarks
no bookmarks set
% set bookmark X
% list bookmarks
* X -1:000000000000
% list bookmarks with color
* X -1:000000000000
% update to bookmark X
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
% list bookmarks
* X -1:000000000000
% rename
% list bookmarks
* Z -1:000000000000
% new bookmark Y
% list bookmarks
* Y -1:000000000000
Z -1:000000000000
% commit
% list bookmarks
* Y 0:719295282060
Z -1:000000000000
% delete bookmarks
% list bookmarks
no bookmarks set
% update to tip
0 files updated, 0 files merged, 0 files removed, 0 files unresolved