[pacman-dev] [PATCH] More verbose bzr branching error

Maxime Gauduin alucryd at gmail.com
Thu Apr 4 10:02:50 EDT 2013


From: Alucryd <alucryd at gmail.com>

Prints the correct bzr url to be used in the source array. More details in this thread:
https://mailman.archlinux.org/pipermail/aur-general/2013-April/022921.html

Signed-off-by: Maxime Gauduin <alucryd at gmail.com>
---
 scripts/makepkg.sh.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index da620a4..777bbfb 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -473,6 +473,7 @@ download_bzr() {
 		# Make sure we are fetching the right repo
 		if [[ "$url" != "$(bzr config parent_location -d $dir)"  ]] ; then
 			error "$(gettext "%s is not a branch of %s")" "$dir" "$url"
+			error "$(gettext "The reported url is %s")" "$(bzr config parent_location -d $dir)"
 			plain "$(gettext "Aborting...")"
 			exit 1
 		fi
-- 
1.8.2



More information about the pacman-dev mailing list