674546022c15

Improve the slog alias.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 14 Dec 2009 17:57:48 -0500
parents 2ae666b881b8
children b369be70f9f8
branches/tags (none)
files .hgrc bash/tasks

Changes

--- 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
--- 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.'
+}