[pacman-dev] [PATCH] More verbose bzr branching error
From: Alucryd <alucryd@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@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
On 05/04/13 00:02, Maxime Gauduin wrote:
From: Alucryd <alucryd@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@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
participants (2)
-
Allan McRae
-
Maxime Gauduin