Please read: 2.5 freeze
Brendan Cully
brendan at kublai.com
Wed Jan 16 20:09:46 CST 2013
On Wednesday, 16 January 2013 at 17:26, Matt Mackall wrote:
> [1] Unless you have a magic script that will star all the patches in my
> IMAP inbox that patchwork considers still interesting and unstar the
> rest, so that patchwork actually saves me effort
1. Get patchwork client, .pwclientrc here:
http://patchwork.serpentine.com/help/pwclient/
2. Install isync and notmuch
3. The trivial scripting (season to taste):
pwhelp.sh:
#!/bin/bash
PWCLIENT=~/bin/pwclient
state="$1"
$PWCLIENT list -s "$state" | while read id rest
do
case "$id" in
ID | --) continue ;;
*)
msgid=`$PWCLIENT info $id | sed -ne '/msgid/s/.*<\(.*\)>/\1/p'`
if [ -z "$haveone" ]
then
echo -n "id:$msgid"
haveone=yes
else
echo -n " or id:$msgid"
fi
;;
esac
done
echo
~/.isyncrc:
Host foo
MailDir ~/notmuch
CertificateFile ~/.sslcerts
Mailbox mercurial
Box Lists.mercurial
usage:
isync; notmuch new; notmuch tag -flagged all; notmuch tag +flagged `pwhelp.sh new`; isync
More information about the Mercurial-devel
mailing list