Mercurial > hg > config
changeset 742:e12ca24fd7c6
remove cruft
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 28 Jun 2015 12:35:06 -0700 |
parents | 9681a0bd74d6 |
children | 51ef69da82fb |
files | .bashrc |
diffstat | 1 files changed, 1 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/.bashrc Sun Jun 28 11:56:13 2015 -0700 +++ b/.bashrc Sun Jun 28 12:35:06 2015 -0700 @@ -463,20 +463,6 @@ ### functions for version control systems -svndance(){ -# do the svn import dance! -if (( $# )) -then - svn import $1 - cd .. - rm -rf $OLDPWD - svn co $1 $OLDPWD - cd $OLDPWD -else - return 1 -fi -} - difffiles() { # which files are diffed; could use `lsdiff` grep '^+++ ' $@ | sed 's/+++ b\///' @@ -492,12 +478,6 @@ combinediff <(git diff) <(git diff --cached) } -hg-add-commit() { - # add a file + commit - MESSAGE=$(hg add $@) - hg commit -m "${MESSAGE}" -} - hg-update-all() { # update all hg repositories in the current directory for i in *; @@ -607,16 +587,7 @@ ### include overrides for commands source ~/.bash_overrides -### cognet customizations -export BASTION_SERVER=bastion-east-1c.cognet.tv -export BASTION_USER=jhammel -export KEYS_DIR=/home/jhammel/.ssh -COGNET_BASHRC=~/cognet/bin/.bashrc -if [ -e "${COGNET_BASHRC}" ] -then - . ${COGNET_BASHRC} -fi - +### deactivate any virtualenvs if type deactivate &> /dev/null then deactivate