8043d5e48bb6

hg: more aliases
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 20 Aug 2010 09:20:03 -0400
parents d938b59c75f7
children 32d476ffba18
branches/tags (none)
files .hgrc

Changes

--- a/.hgrc	Thu Aug 19 17:27:41 2010 -0400
+++ b/.hgrc	Fri Aug 20 09:20:03 2010 -0400
@@ -128,14 +128,14 @@
 fet = fetch --message 'Automated merge.'
 
 mkrepo = !$HG init $1 && cd $1 && \
-         echo 'syntax: glob'  > .hgignore && \
-         echo ''             >> .hgignore && \
-         echo '.DS_Store'    >> .hgignore && \
-         echo '*.pyc'        >> .hgignore && \
-         echo '*.swp'        >> .hgignore && \
-         echo '*.swo'        >> .hgignore && \
-         echo '*.un~'        >> .hgignore && \
-         echo "[paths]\n" >> .hg/hgrc
+          echo 'syntax: glob'  > .hgignore && \
+          echo ''             >> .hgignore && \
+          echo '.DS_Store'    >> .hgignore && \
+          echo '*.pyc'        >> .hgignore && \
+          echo '*.swp'        >> .hgignore && \
+          echo '*.swo'        >> .hgignore && \
+          echo '*.un~'        >> .hgignore && \
+          echo "[paths]\n" >> .hg/hgrc
 
 qempty = !$HG qrefresh -X `$HG root`
 
@@ -153,3 +153,8 @@
            $HG qrefresh -m "$@" && \
            $HG qfinish temp-for-under && \
            $HG qpush $HG_CUR_PATCH
+erc = !$EDITOR `$HG root`/.hg/hgrc
+
+# Install t first: http://bitbucket.org/sjl/t/
+bug = !~/lib/t/t.py --task-dir="`$HG root`" --list=BUGS $@
+todo = !~/lib/t/t.py --task-dir="`$HG root`" --list=TODO $@