ae6212a980bc

Major cleanup of my hg aliases.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 28 Oct 2009 22:55:17 -0400
parents fa767da486bf
children dbb742acfde1
branches/tags (none)
files .hgrc

Changes

--- a/.hgrc	Wed Oct 28 22:50:14 2009 -0400
+++ b/.hgrc	Wed Oct 28 22:55:17 2009 -0400
@@ -24,17 +24,6 @@
 diffstat = ~/lib/hg/hgdiffstat/hgext/diffstat.py
 review = ~/src/hg-review/review
 
-[alias]
-rewrite = histedit
-killitwithfire = revert --no-backup --all
-kittens = parents
-fold = collapse
-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 '{rev}:{node|short} {desc|firstline}\n'
-nudge = push --rev .
-tmd = diff --no-color -U 10
-, = glog -l15 --template '\033[33;40m{rev} \033[37;40m{desc|firstline|fill68} \033[1;30;40m({date|age} ago by {author|person})\033[0;37;40m \033[33;40m{tags}\033[37;40m \033[35;40m{branches}\033[37;40m\n\n'
-
 [diff]
 git = True
 
@@ -76,9 +65,28 @@
 track.current = True
 
 [defaults]
-glog = -l7 --template 'changeset:   {rev}:{node|short} \033[1;30;40m{author|person}\033[0;37;40m \033[33;40m{tags}\033[37;40m \033[35;40m{branches}\033[37;40m\nsummary:     {desc|firstline|fill68|tabindent|tabindent}\n\n'
 diff   = --color always
 status = --color always
 serve  = --style=gitweb
 rebase = --keepbranches
 addremove = --similarity 100
+
+
+[alias]
+
+killitwithfire = revert --no-backup --all
+kittens = parents
+fold = collapse
+slog = log --template '{rev}:{node|short} {desc|firstline}\n'
+nudge = push --rev .
+cm = commit -m
+
+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
+
+gl = glog -l8 --template 'changeset: {rev}:{node|short} \033[1;30;40m{author|person}\033[0;37;40m \033[33;40m{tags}\033[37;40m \033[35;40m{branches}\033[37;40m\nsummary:   {desc|firstline|fill68|tabindent|tabindent}\n\n'
+
+gl+ = gl -l100000000
+
+, = glog -l15 --template '\033[33;40m{rev} \033[37;40m{desc|firstline|fill68} \033[1;30;40m({date|age} ago by {author|person})\033[0;37;40m \033[33;40m{tags}\033[37;40m \033[35;40m{branches}\033[37;40m\n\n'
+
+,+ = , -l100000000