For non applied patches I am using the following script (on Windows with msys): http://rafb.net/p/BFnVs294.html Called from this bash script: #!/bin/sh PARAMS= if [ "x$1" = "x-n" ]; then PARAMS=$1 shift fi LST=$1 if [ "x$LST" = "x" ]; then LST=$(hg qseries) fi for act in $LST; do pst.py $PARAMS .hg/patches/$act; done