[arch-dev-public] Who broke devtools? - extrapkg svn commit == fail

Xavier shiningxc at gmail.com
Tue Sep 22 05:57:49 EDT 2009


On Tue, Sep 22, 2009 at 11:20 AM, Thomas Bächler <thomas at archlinux.org> wrote:
> So, please have a look at the second block:
>
> if [ "$1" != "" ]; then
>    svn commit -m "upgpkg: $pkgbase $pkgver-$pkgrel
>    $1" > /dev/null
>    if [ $? -ne 0 ]; then
>        echo "Cancelled"
>        exit 1
>    fi
>    echo "===> Commited with \"upgpkg: $pkgbase $pkgver-$pkgrel
>    $1\" message"
> else
>    svn commit >/dev/null
>    if [ $? -ne 0 ]; then
>        echo "Cancelled"
>        exit 1
>    fi
>    echo "===> Commited with \"upgpkg: $pkgbase $pkgver-$pkgrel\" message"
> fi
>
> 1) Redirecting the commit command to /dev/null if an editor is going to be
> called is fail. extrapkg was hanging indefinitely and I was really wondering
> why.
> 2) The above is easy to fix, however, the "Commited with ..." message is
> incorrect. Furthermore, we should still include "upgpkg: ..." in the default
> commit message, that is missing in the second code path.
>
>

first commit after 0.7.0 :)
http://projects.archlinux.org/?p=devtools.git;a=commitdiff;h=0a35566e2baeaf0786ab471a3a48fd4590cc6dc0


More information about the arch-dev-public mailing list