3 toolsdir="$(dirname "$0")"
4 pwpath="${toolsdir}"/../patchwork
8 echo "usage: $0 <revspec>" >&2
12 git rev-list --reverse "$@" |
15 hash=$(git show "$commit" | python $pwpath/parser.py -#)
16 $pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"