mq: really remove undo after a qpush (and after a strip)
For qpush, removeundo has to be called after the transaction has finished.
strip may use unbundle, which also leaves an undo file.
Fixes issue780.
#!/bin/sh# a test for issue586hg init acd aecho a > ahg ci -Amahg init ../bcd ../becho b > bhg ci -Ambhg pull -f ../ahg mergehg rm -f ahg ci -Amchg st -A