Patchwork patchwork-update-commits: add missing `update` to command line

login
register
mail settings
Submitter Paul Menzel
Date March 23, 2011, 5:13 p.m.
Message ID <1300900410.4101.27.camel@mattotaupa>
Download mbox | patch
Permalink /patch/88103/
State Accepted
Commit ac5cddbc75745bcfddc6e3ed97d75edc49540e27
Headers show

Comments

Paul Menzel - March 23, 2011, 5:13 p.m.
Date: Wed, 23 Mar 2011 18:10:31 +0100

Otherwise the following error is shown.

	Too many arguments specified

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
---
 tools/patchwork-update-commits |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Jeremy Kerr - March 30, 2011, 7:05 a.m.
Hi Paul,

> Otherwise the following error is shown.
> 
> 	Too many arguments specified
> 
> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>

Thanks, applied.


Jeremy

Patch

diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index 2730216..b2a658a 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -13,5 +13,5 @@  git rev-list --reverse "$@" |
 while read commit
 do
 	hash=$(git show "$commit" | python $pwpath/parser.py -#)
-	$pwpath/bin/pwclient -s Accepted -c "$commit" -h "$hash"
+	$pwpath/bin/pwclient update -s Accepted -c "$commit" -h "$hash"
 done