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

Allan McRae allan at archlinux.org
Fri Apr 5 01:34:11 EDT 2013


On 05/04/13 00:02, Maxime Gauduin wrote:
> 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
> 

We are going to need the actual explanation in the commit message and
not a link to a mailing list thread which have been shown to change in
the past...

> 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
> 



More information about the pacman-dev mailing list