changeset 420:433442acf48f

add a thing
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 05 Aug 2013 17:35:39 -0700
parents 89fa3a440acb
children 9ff867053191
files .hgrc bin/clone-mozbase.sh
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgrc	Mon Aug 05 14:54:03 2013 -0700
+++ b/.hgrc	Mon Aug 05 17:35:39 2013 -0700
@@ -35,5 +35,6 @@
 contact = jhammel at mozilla dot com
 
 [alias]
+blind-push = !($HG st -q | python -c "import sys, subprocess; print ' '.join([line[2:].rstrip() for line in sys.stdin.readlines() if len(line) > 2])" > blind_commit_message) && $HG commit -l blind_commit_message && $HG push
 reset = !$HG revert --no-backup --all && $HG purge
 sync = !$HG pull && $HG push
\ No newline at end of file
--- a/bin/clone-mozbase.sh	Mon Aug 05 14:54:03 2013 -0700
+++ b/bin/clone-mozbase.sh	Mon Aug 05 17:35:39 2013 -0700
@@ -23,6 +23,7 @@
     cd ${VIRTUAL_ENV}
     . bin/activate
     mkdir -p src
+    cd src
 fi
 
 git clone git@github.com:k0s/mozbase.git