more propose-patch fixups
authoradam <adam@megacz.com>
Sun, 8 Feb 2004 20:50:53 +0000 (20:50 +0000)
committeradam <adam@megacz.com>
Sun, 8 Feb 2004 20:50:53 +0000 (20:50 +0000)
darcs-hash:20040208205053-5007d-756c5e7a656b4481031d1d51654c33a0941fb509.gz

Makefile

index 2273a80..5f0b4db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -258,5 +258,9 @@ dist: compile
        echo -e "\n\n\n*** DONE ******************************************"
 
 propose-patch:
-       darcs push -s -A $(USER)@xwt.org -T patches@xwt.org
+       @darcs push --and-apply --edit-description -o .darcspatch -T patches@xwt.org http://darcs.ibex.org/ibex/
+       @(echo "To: patches@xwt.org";\
+        echo "Subject: "`grep -A2 \"New patches\" .darcspatch | tail -n 1 | cut -b 2-`;\
+        cat .darcspatch) | /usr/sbin/sendmail -bm -f $(USER)@xwt.org patches@xwt.org
+       @rm .darcspatch