X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/2f861a437094ba6d5106b3b96823788b935f82f2..a708fc071206774d0a41a5d7d903055b9f199239:/mr?ds=sidebyside 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