On Wed, Oct 10, 2012 at 11:43:09AM +0100, Sam Thursfield wrote:
1. currently 'morph build' doesn't remove the temporary
build
branches on failure or cancellation. I'm a chronic Ctrl+C user and
it would make me unhappy to think that every time I do so it
clutters up the git repo with refs that won't be deleted until the
next time we run an auto-cleanup. I propose adding an exception
handler to always delete the temporary branches.
Since I'm currently completely obsessed by them... can we have something which
follows the 'with'-protocol for the branches so that barring hideous failure
modes, we always clean up nicely.
2. since it might be useful to see them, I also propose a --keep
option to Morph which skips the exception handler. I think this
would be useful for 'morph merge' as well. This would then require
the user to clean up manually, which I don't see as a big problem.
That'd just be an argument when constructing the object for the above I guess.
D.
--
Daniel Silverstone
http://www.codethink.co.uk/
Senior Developer GPG 4096/R Key Id: 3CCE BABE 206C 3B69