# HG changeset patch # User Steve Losh # Date 1256784917 14400 # Node ID ae6212a980bce5c675964e7a808f41c331641b64 # Parent fa767da486bf35e3c8b3d8257e7dd60d108d65a1 Major cleanup of my hg aliases. diff -r fa767da486bf -r ae6212a980bc .hgrc --- 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