ae4c1a5f6221
More aliases, etc.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 14 Oct 2009 17:31:16 -0400 |
parents | 11c087d7ffe0 |
children | 56223118cfe5 |
branches/tags | (none) |
files | .hgrc bash/mercurial |
Changes
--- a/.hgrc Wed Oct 07 00:28:58 2009 -0400 +++ b/.hgrc Wed Oct 14 17:31:16 2009 -0400 @@ -29,6 +29,7 @@ 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
--- a/bash/mercurial Wed Oct 07 00:28:58 2009 -0400 +++ b/bash/mercurial Wed Oct 14 17:31:16 2009 -0400 @@ -1,6 +1,7 @@ #!/usr/bin/env bash alias mq='hg -R $(hg root)/.hg/patches' +alias tmd='hg tmd | mate' pull_everything() { for repo in $( ls -1 ); do @@ -16,4 +17,4 @@ local P="$(grep 'bitbucket.org' `hg root`/.hg/hgrc 2>/dev/null | head -1)" local URL="$(echo $P | sed -e's|.*\(bitbucket.org.*\)|http://\1|')" [[ -n $URL ]] && open $URL || echo "No BitBucket path found!" -} \ No newline at end of file +}