Commits

Kenny Pitt committed c9b2288 Draft

Fix empty brackets when there is no phase.

  • Participants
  • Parent commits 4d95cb1

Comments (0)

Files changed (4)

 
 changeset_quiet = '\033[0;33m{rev}\033[0m\n'
 
-changeset_verbose = '\033[0;31m[{phase}]\033[0m \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 = '{phases}\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'
 
 start_branches = ' '
 branch = '\033[0;35m{branch}\033[0m'
 start_bookmarks = ' '
 bookmark = '\033[0;32m[{bookmark}]\033[0m '
 last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
+
+start_phases = ''
+phase = '\033[0;31m[{phase}]\033[0m '
-changeset = 'changeset: \033[0;31m[{phase}]\033[0m \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: {phases}\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_verbose = 'changeset: \033[0;31m[{phase}]\033[0m \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: {phases}\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'
 
 start_file_adds = ''
 file_add = '\033[0;32mA {file_add}\033[0m\n'
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '
 last_tag = '\033[0;33m{tag}\033[0m'
+
+start_phases = ''
+phase = '\033[0;31m[{phase}]\033[0m '

map-cmdline.sglog

 changeset = '\033[0;33m{rev}\033[0m {desc|firstline|strip}{branches}{bookmarks}{tags}\n\n'
 
-changeset_verbose = '\033[0;31m[{phase}]\033[0m \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 = '{phases}\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'
 
 start_branches = ' '
 branch = '\033[0;35m{branch}\033[0m'
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '
 last_tag = '\033[0;33m{tag}\033[0m'
+
+start_phases = ''
+phase = '\033[0;31m[{phase}]\033[0m '
 
 changeset_quiet = '\033[0;33m{rev}\033[0m {desc|firstline|strip}\n'
 
-changeset_verbose = '\033[0;31m[{phase}]\033[0m \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 = '{phases}\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'
 
 start_branches = ' '
 branch = '\033[0;35m{branch}\033[0m'
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '
 last_tag = '\033[0;33m{tag}\033[0m'
+
+start_phases = ''
+phase = '\033[0;31m[{phase}]\033[0m '