47c783bc17f8

Add the new style map files.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 10 Jan 2010 12:00:32 -0500
parents b268b1099a64
children 711219d15b39
branches/tags (none)
files .hgrc mercurial/cli-templates/map-cmdline.sglog mercurial/cli-templates/map-cmdline.show mercurial/cli-templates/map-cmdline.slog mercurial/cli-templates/show.changeset.template

Changes

--- a/.hgrc	Sat Jan 09 00:19:03 2010 -0500
+++ b/.hgrc	Sun Jan 10 12:00:32 2010 -0500
@@ -87,11 +87,10 @@
 
 show = log --template 'changeset:  {rev}:{node|short} \033[33;40m{tags}\033[37;40m\033[35;40m{branches}\033[37;40m\nauthor:     {author}\ndate:       {date|rfc822date} ({date|age} ago)\nsummary:    {desc|firstline}\n\nadded:   \033[32;40m{file_adds}\033[37;40m\nremoved: \033[31;40m{file_dels}\033[37;40m\nchanged: \033[36;40m{file_mods}\033[37;40m\n\n' --color=always -pr
 
-slog = log --template '\033[33;40m{rev}\033[37;40m {desc|firstline} \033[1;30;40m({date|age} by {author|person})\033[0;37;40m \033[33;40m{tags}\033[37;40m\n'
-
+slog = log --style=/Users/sjl/lib/dotfiles/mercurial/cli-templates/map-cmdline.slog
 . = slog -l15
+.. = . -l100000000
 
-, = glog -l10 --template '\033[33;40m{rev} \033[37;40m{desc|firstline|fill68} \n\033[35;40m{branches}\033[37;40m \033[33;40m{tags}\033[37;40m\033[1;30;40m({date|age} by {author|person})\033[0;37;40m\n\n'
+, = glog -l10 --style=/Users/sjl/lib/dotfiles/mercurial/cli-templates/map-cmdline.sglog
+,, = , -l100000000
 
-,+ = , -l100000000
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cli-templates/map-cmdline.sglog	Sun Jan 10 12:00:32 2010 -0500
@@ -0,0 +1,10 @@
+changeset = '\033[0;33m{rev}\033[0m {desc|firstline|strip}{branches}{tags}\n\n'
+
+changeset_verbose = '\033[0;33m{rev}\033[0m {desc|firstline|strip}{branches}{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'
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cli-templates/map-cmdline.show	Sun Jan 10 12:00:32 2010 -0500
@@ -0,0 +1,13 @@
+changeset = show.changeset.template
+
+start_file_adds = ''
+file_add = '\033[0;32mA {file_add}\033[0m\n'
+end_file_adds = ''
+
+start_file_dels = ''
+file_del = '\033[0;31mR {file_del}\033[0m\n'
+end_file_dels = ''
+
+start_file_mods = ''
+file_mod = '\033[0;36mM {file_mod}\033[0m\n'
+end_file_mods = ''
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cli-templates/map-cmdline.slog	Sun Jan 10 12:00:32 2010 -0500
@@ -0,0 +1,12 @@
+changeset = '\033[0;33m{rev}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person})\033[0m\n'
+
+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({date|age} by {author|person})\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'
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mercurial/cli-templates/show.changeset.template	Sun Jan 10 12:00:32 2010 -0500
@@ -0,0 +1,7 @@
+changeset: {rev}:{node|short}
+author:    {author}
+date:      {date|rfc822date} ({date|age})
+summary:   {desc|firstline|strip}
+
+{file_adds}{file_dels}{file_mods}
+