# HG changeset patch # User Steve Losh # Date 1256253793 14400 # Node ID bc7e4f80b5ee3acce8dbdecc1e142fd6457e282c # Parent 56223118cfe5865c2b958d581bb4f7d96e454b00 Add the review extension and clean up the bitb alias. diff -r 56223118cfe5 -r bc7e4f80b5ee .hgrc --- a/.hgrc Wed Oct 14 17:34:12 2009 -0400 +++ b/.hgrc Thu Oct 22 19:23:13 2009 -0400 @@ -22,6 +22,7 @@ hg-git = ~/lib/hg/hg-git-abderrahim collapse = ~/lib/hg/hgcollapse/hgext/collapse.py diffstat = ~/lib/hg/hgdiffstat/hgext/diffstat.py +review = ~/src/hg-review/review [alias] rewrite = histedit diff -r 56223118cfe5 -r bc7e4f80b5ee bash/mercurial --- a/bash/mercurial Wed Oct 14 17:34:12 2009 -0400 +++ b/bash/mercurial Thu Oct 22 19:23:13 2009 -0400 @@ -14,7 +14,7 @@ } bitb() { - local P="$(grep 'bitbucket.org' `hg root`/.hg/hgrc 2>/dev/null | head -1)" + local P="$(hg paths 2>/dev/null | grep 'bitbucket.org' | head -1)" local URL="$(echo $P | sed -e's|.*\(bitbucket.org.*\)|http://\1|')" [[ -n $URL ]] && open $URL || echo "No BitBucket path found!" }