On Tue, Nov 24, 2015 at 07:43:59AM +0000, Luke Diamand wrote: > From: GIRARD Etienne <egirard@xxxxxxxxx> > > When "p4 submit" command fails in P4Submit.applyCommit, the > workspace is left with the changes. We already have code to revert > the changes to the workspace when the user decides to cancel > submission by aborting the editor that edits the change description, > and we should treat the "p4 submit" failure the same way. > > Clean the workspace if p4_write_pipe raised SystemExit, so that the > user don't have to do it themselves. > > Signed-off-by: GIRARD Etienne <egirard@xxxxxxxxx> > Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> > Signed-off-by: Luke Diamand <luke@xxxxxxxxxxx> > --- Thanks, I think this should be ready for 'next', then. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html