X-Git-Url: https://git.madduck.net/etc/myrepos.git/blobdiff_plain/dd2897b6650b70fb32f1d4dba4abdf9b51a05cb0..45e283a1bb96100240ad16559fa39ac469a41cf7:/.mr/LIB diff --git a/.mr/LIB b/.mr/LIB index 6c20d29..e69de29 100644 --- a/.mr/LIB +++ b/.mr/LIB @@ -1,23 +0,0 @@ -bzr_update = bzr pull "$@" - -lib = checkout_hack_branch() { - git clone --no-checkout --origin $2 $3 $1 - cd $1 - git checkout -b $2 $2/${5:-master} - git branch -D master >/dev/null - git remote add origin $4 - if git fetch origin 2>/dev/null; then - git checkout -b master origin/master - else - git checkout -b master $2/${5:-master} - case "$4" in - ssh://*) - host=${4#*//} - path=${host#*/} - host=${host%%/*} - ssh $host "[ -d $path ] || GIT_DIR=$path git --bare init --shared=world" - ;; - esac - git push origin --all - fi - }