Merge branch 'access-scm-branch'

pull/276/head
Scott Drennan 2014-03-15 11:42:34 -07:00
commit ef04c3613c
1 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@ function mkvenv {
group 'virtualenv'
cwd=`basename \`pwd\``
mkvirtualenv --distribute $cwd
mkvirtualenv $cwd
}
@ -19,13 +19,15 @@ function mkvbranch {
about 'create a new virtualenv for the current branch'
group 'virtualenv'
mkvirtualenv --distribute "$(basename `pwd`)@$SCM_BRANCH"
scm_prompt_info >/dev/null 2>&1
mkvirtualenv "$(basename `pwd`)@$SCM_BRANCH"
}
function wovbranch {
about 'sets workon branch'
group 'virtualenv'
scm_prompt_info >/dev/null 2>&1
workon "$(basename `pwd`)@$SCM_BRANCH"
}