# HG changeset patch # User Steve Losh # Date 1260831468 18000 # Node ID 674546022c152843fe5c152928f32530d4ec18c3 # Parent 2ae666b881b80fa77b68c15811ffbbbdcfaa95b1 Improve the slog alias. diff -r 2ae666b881b8 -r 674546022c15 .hgrc --- a/.hgrc Mon Dec 14 17:57:27 2009 -0500 +++ b/.hgrc Mon Dec 14 17:57:48 2009 -0500 @@ -83,7 +83,7 @@ killitwithfire = revert --no-backup --all kittens = parents fold = collapse -slog = log --template '{rev}:{node|short} {desc|firstline}\n' +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' nudge = push --rev . tmd = diff --no-color -U 10 cm = commit -m diff -r 2ae666b881b8 -r 674546022c15 bash/tasks --- a/bash/tasks Mon Dec 14 17:57:27 2009 -0500 +++ b/bash/tasks Mon Dec 14 17:57:48 2009 -0500 @@ -11,6 +11,6 @@ packfor() { cp "$HOME/tasks/pack-archive" "$HOME/tasks/pack"; touch "$HOME/tasks/.pack.done" - hg -R ~/tasks add 'pack' '.pack.done'; - hg -R ~/tasks com -m 'Starting to pack.' -} \ No newline at end of file + hg --cwd ~/tasks add 'pack' '.pack.done'; + hg -R ~/tasks commit -m 'Starting to pack.' +}