3
# take patches from patchwork into bzr
5
# authentication must be in ~/.netrc
7
# TODO: Scan all pending patches and say which ones apply cleanly.
9
# these should be moved into some kind of per-project configuration
10
PWK_ROOT='http://patchwork.ozlabs.org/bazaar-ng'
11
PWK_AUTH_ROOT='https://patchwork.ozlabs.org/bazaar-ng'
16
pwk cat PATCH-ID show the patch text
17
pwk try PATCH-ID see if the patch applies cleanly
18
pwk apply PATCH-ID apply patch into current directory
23
curl --silent --show-error --get -d id=$1 $PWK_ROOT/patchcontent
39
catpatch $2 | ${PAGER:-less}
42
catpatch $2 | patch -p1 --dry-run
45
catpatch $2 | patch -p1