Some improvements for support/patch-update:
authorWayne Davison <wayned@samba.org>
Tue, 25 Mar 2008 02:30:51 +0000 (19:30 -0700)
committerWayne Davison <wayned@samba.org>
Tue, 25 Mar 2008 03:30:09 +0000 (20:30 -0700)
commitc202b4fa967c3cf98a9504a9ac98d5b931819a5e
tree5aa35d4e1635462fa23706ac1316e43ec908aab9
parent1df02d13d304ea5a35ecc81b26a5419904aacd95
Some improvements for support/patch-update:
- Added a --shell option which starts a sub-shell on each patch branch.
- Don't allow the user to exit a sub-shell if the branch is not clean.
- If the sub-shell exited with a non-zero exit status, prompt to see if
  the user wanted to abort rather than assuming that.
- Wait to start the new patch-file output until after the shell runs.
- Always return to the starting branch on exit.
support/patch-update