1. Kenny Pitt
  2. mercurial-cli-templates

Commits

Kenny Pitt  committed 4d346ae

Change from ANSI to Win32 color codes.

  • Participants
  • Parent commits b9bd86b
  • Branches win32-color

Comments (0)

Files changed (4)

File map-cmdline.dlog

View file
  • Ignore whitespace
-changeset = '\033[0;33m{rev}\033[0m{branches} {desc|firstline|strip} \033[1;30m(on {date|shortdate} by {author|person})\033[0m\n'
+changeset = '\033[6m{rev}\033[-1m{branches} {desc|firstline|strip} \033[8;0m(on {date|shortdate} by {author|person})\033[-1m\n'
 
-changeset_quiet = '\033[0;33m{rev}\033[0m\n'
+changeset_quiet = '\033[6m{rev}\033[-1m\n'
 
-changeset_verbose = '\033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches} {desc|firstline|strip} \033[1;30m(on {date|shortdate} by {author|person})\033[0m{bookmarks}{tags}\n'
+changeset_verbose = '\033[6m{rev}\033[-1m:\033[6m{node|short}\033[-1m{branches} {desc|firstline|strip} \033[8;0m(on {date|shortdate} by {author|person})\033[-1m{bookmarks}{tags}\n'
 
 start_branches = ' '
-branch = '\033[0;35m{branch}\033[0m'
+branch = '\033[5m{branch}\033[-1m'
 
 start_tags = ' '
-tag = '\033[0;33m{tag}\033[0m, '
-last_tag = '\033[0;33m{tag}\033[0m'
+tag = '\033[6m{tag}\033[-1m, '
+last_tag = '\033[6m{tag}\033[-1m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m[{bookmark}]\033[0m '
-last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
+bookmark = '\033[2m[{bookmark}]\033[-1m '
+last_bookmark = '\033[2m[{bookmark}]\033[-1m'

File map-cmdline.nlog

View file
  • Ignore whitespace
-changeset = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches}{bookmarks}{tags}\nauthor:    {author}\ndate:      {date|rfc822date} ({date|age})\nsummary:   {desc|firstline|strip}\n\n{file_mods}{file_adds}{file_dels}\n\n'
+changeset = 'changeset: \033[6m{rev}\033[-1m:\033[6m{node|short}\033[-1m{branches}{bookmarks}{tags}\nauthor:    {author}\ndate:      {date|rfc822date} ({date|age})\nsummary:   {desc|firstline|strip}\n\n{file_mods}{file_adds}{file_dels}\n\n'
 
-changeset_verbose = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches}{bookmarks}{tags}\nauthor:    {author}\ndate:      {date|rfc822date} ({date|age})\n\n{desc}\n\n{file_mods}{file_adds}{file_dels}\n\n'
+changeset_verbose = 'changeset: \033[6m{rev}\033[-1m:\033[6m{node|short}\033[-1m{branches}{bookmarks}{tags}\nauthor:    {author}\ndate:      {date|rfc822date} ({date|age})\n\n{desc}\n\n{file_mods}{file_adds}{file_dels}\n\n'
 
 start_file_adds = ''
-file_add = '\033[0;32mA {file_add}\033[0m\n'
+file_add = '\033[2mA {file_add}\033[-1m\n'
 end_file_adds = ''
 
 start_file_dels = ''
-file_del = '\033[0;31mR {file_del}\033[0m\n'
+file_del = '\033[4mR {file_del}\033[-1m\n'
 end_file_dels = ''
 
 start_file_mods = ''
-file_mod = '\033[0;36mM {file_mod}\033[0m\n'
+file_mod = '\033[3mM {file_mod}\033[-1m\n'
 end_file_mods = ''
 
 start_branches = ' '
-branch = '\033[0;35m{branch}\033[0m'
+branch = '\033[5m{branch}\033[-1m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m[{bookmark}]\033[0m '
-last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
+bookmark = '\033[2m[{bookmark}]\033[-1m '
+last_bookmark = '\033[2m[{bookmark}]\033[-1m'
 
 start_tags = ' '
-tag = '\033[0;33m{tag}\033[0m, '
-last_tag = '\033[0;33m{tag}\033[0m'
+tag = '\033[6m{tag}\033[-1m, '
+last_tag = '\033[6m{tag}\033[-1m'

File map-cmdline.sglog

View file
  • Ignore whitespace
-changeset = '\033[0;33m{rev}\033[0m {desc|firstline|strip}{branches}{bookmarks}{tags}\n\n'
+changeset = '\033[6m{rev}\033[-1m {desc|firstline|strip}{branches}{bookmarks}{tags}\n\n'
 
-changeset_verbose = '\033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m {desc|firstline|strip}{branches}{bookmarks}{tags}\n\033[1;30m({date|age} by {author|person})\033[0m\n\n'
+changeset_verbose = '\033[6m{rev}\033[-1m:\033[6m{node|short}\033[-1m {desc|firstline|strip}{branches}{bookmarks}{tags}\n\033[1;30m({date|age} by {author|person})\033[-1m\n\n'
 
 start_branches = ' '
-branch = '\033[0;35m{branch}\033[0m'
+branch = '\033[5m{branch}\033[-1m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m[{bookmark}]\033[0m '
-last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
+bookmark = '\033[4m[{bookmark}]\033[-1m '
+last_bookmark = '\033[4m[{bookmark}]\033[-1m'
 
 start_tags = ' '
-tag = '\033[0;33m{tag}\033[0m, '
-last_tag = '\033[0;33m{tag}\033[0m'
+tag = '\033[6m{tag}\033[-1m, '
+last_tag = '\033[6m{tag}\033[-1m'

File map-cmdline.slog

View file
  • Ignore whitespace
-changeset = '\033[0;33m{rev}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person}){bookmarks}\033[0m{tags}\033[0m\n'
+changeset = '\033[6m{rev}\033[-1m{branches} {desc|firstline|strip} \033[8;0m({date|age} by {author|person}){bookmarks}\033[-1m{tags}\n'
 
-changeset_quiet = '\033[0;33m{rev}\033[0m\n'
+changeset_quiet = '\033[6m{rev}\033[-1m\n'
 
-changeset_verbose = '\033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person}){bookmarks}\033[0m{tags}\n'
+changeset_verbose = '\033[6m{rev}\033[-1m:\033[6m{node|short}\033[-1m{branches} {desc|firstline|strip} \033[8;0m({date|age} by {author|person}){bookmarks}\033[-1m{tags}\n'
 
 start_branches = ' '
-branch = '\033[0;35m{branch}\033[0m'
+branch = '\033[5m{branch}\033[-1m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m[{bookmark}]\033[0m '
-last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
+bookmark = '\033[2m[{bookmark}]\033[-1m '
+last_bookmark = '\033[2m[{bookmark}]\033[-1m'
 
 start_tags = ' '
-tag = '\033[0;33m{tag}\033[0m, '
-last_tag = '\033[0;33m{tag}\033[0m'
+tag = '\033[6m{tag}\033[-1m, '
+last_tag = '\033[6m{tag}\033[-1m'