b9bd86b9f476

Wrap bookmarks in [] and show them even in non-verbose mode.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 09 Mar 2011 09:32:45 -0500
parents 31333dde63d8
children c060c94622e9
branches/tags (none)
files map-cmdline.dlog map-cmdline.nlog map-cmdline.sglog map-cmdline.slog

Changes

--- a/map-cmdline.dlog	Fri Mar 04 09:41:05 2011 -0800
+++ b/map-cmdline.dlog	Wed Mar 09 09:32:45 2011 -0500
@@ -2,11 +2,15 @@
 
 changeset_quiet = '\033[0;33m{rev}\033[0m\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{tags}\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'
 
 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'
\ No newline at end of file
+last_tag = '\033[0;33m{tag}\033[0m'
+
+start_bookmarks = ' '
+bookmark = '\033[0;32m[{bookmark}]\033[0m '
+last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
--- a/map-cmdline.nlog	Fri Mar 04 09:41:05 2011 -0800
+++ b/map-cmdline.nlog	Wed Mar 09 09:32:45 2011 -0500
@@ -1,4 +1,4 @@
-changeset = 'changeset: \033[0;33m{rev}\033[0m:\033[0;33m{node|short}\033[0m{branches}{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[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;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'
 
@@ -16,8 +16,10 @@
 
 start_branches = ' '
 branch = '\033[0;35m{branch}\033[0m'
+
 start_bookmarks = ' '
-bookmark = '\033[0;32m{bookmark}\033[0m, '
+bookmark = '\033[0;32m[{bookmark}]\033[0m '
+last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
 
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '
--- a/map-cmdline.sglog	Fri Mar 04 09:41:05 2011 -0800
+++ b/map-cmdline.sglog	Wed Mar 09 09:32:45 2011 -0500
@@ -1,4 +1,4 @@
-changeset = '\033[0;33m{rev}\033[0m {desc|firstline|strip}{branches}{tags}\n\n'
+changeset = '\033[0;33m{rev}\033[0m {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'
 
@@ -6,7 +6,8 @@
 branch = '\033[0;35m{branch}\033[0m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m{bookmark}\033[0m, '
+bookmark = '\033[0;32m[{bookmark}]\033[0m '
+last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
 
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '
--- a/map-cmdline.slog	Fri Mar 04 09:41:05 2011 -0800
+++ b/map-cmdline.slog	Wed Mar 09 09:32:45 2011 -0500
@@ -1,4 +1,4 @@
-changeset = '\033[0;33m{rev}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person})\033[0m\n'
+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_quiet = '\033[0;33m{rev}\033[0m\n'
 
@@ -8,7 +8,8 @@
 branch = '\033[0;35m{branch}\033[0m'
 
 start_bookmarks = ' '
-bookmark = '\033[0;32m{bookmark}\033[0m, '
+bookmark = '\033[0;32m[{bookmark}]\033[0m '
+last_bookmark = '\033[0;32m[{bookmark}]\033[0m'
 
 start_tags = ' '
 tag = '\033[0;33m{tag}\033[0m, '