Mercurial > hg > config
comparison .bashrc @ 563:2daf6543e42c
adding multigrep.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 15 Dec 2013 22:19:05 -0800 |
parents | 0d5cf87e5b7e |
children | 047a53a8fbad |
comparison
equal
deleted
inserted
replaced
562:8d28fce0a6d6 | 563:2daf6543e42c |
---|---|
481 git-diff-total() { | 481 git-diff-total() { |
482 # diff of both added + modified files | 482 # diff of both added + modified files |
483 combinediff <(git diff) <(git diff --cached) | 483 combinediff <(git diff) <(git diff --cached) |
484 } | 484 } |
485 | 485 |
486 hg-add-commit() { | |
487 # add a file + commit | |
488 MESSAGE=$(hg add $@) | |
489 hg commit -m "${MESSAGE}" | |
490 } | |
491 | |
486 hg-update-all() { | 492 hg-update-all() { |
487 # update all hg repositories in the current directory | 493 # update all hg repositories in the current directory |
488 for i in *; | 494 for i in *; |
489 do | 495 do |
490 if [ -e $i/.hg ] | 496 if [ -e $i/.hg ] |