X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/2f861a437094ba6d5106b3b96823788b935f82f2..ef5c2f73f47387fd7aafc30dcebcd051984370cf:/mr?ds=inline diff --git a/mr b/mr index 96f3a16..e15019e 100755 --- a/mr +++ b/mr @@ -730,6 +730,13 @@ register = \ fi \ echo "Registering git url: $url" \ mr config "$(pwd)" checkout="git clone $url $basedir" \ + elif [ -d .bzr ]; then \ + url=$(cat .bzr/branch/parent) \ + if [ -z "$url" ]; then \ + error "cannot determine bzr url" \ + fi \ + echo "Registering bzr url: $url" \ + mr config "$(pwd)" checkout="bzr clone $url $basedir" \ else \ error "unable to register this repo type" \ fi