index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Renato Silva <br.renatosilva@gmail.com> | 2015-01-15 19:47:07 -0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-02-14 11:18:20 +1000 |
commit | 0927206fc4be98f3afee2622156db8f99e96a316 (patch) | |
tree | 7f41f324e06ab43d43fdfabdd625052763f87d63 | |
parent | ba869597fb64f1101012df4b0d834ed5eced0b7c (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 17 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 4461d12f..9d4ce552 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -471,23 +471,6 @@ download_bzr() { exit 1 fi elif (( ! HOLDVER )); then - # Make sure we are fetching the right repo - local distant_url="$(bzr info $url 2> /dev/null | sed -n '/branch root/{s/ branch root: //p;q;}')" - local local_url="$(bzr config parent_location -d $dir)" - if [[ -n $distant_url ]]; then - if [[ $distant_url != "$local_url" ]]; then - error "$(gettext "%s is not a branch of %s")" "$dir" "$url" - plain "$(gettext "Aborting...")" - exit 1 - fi - else - if [[ $url != "$local_url" ]] ; then - error "$(gettext "%s is not a branch of %s")" "$dir" "$url" - error "$(gettext "The local URL is %s")" "$local_url" - plain "$(gettext "Aborting...")" - exit 1 - fi - fi msg2 "$(gettext "Pulling %s ...")" "${displaylocation}" cd_safe "$dir" if ! bzr pull "$url"; then |