# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1352644279 -3600 # Node ID f3d900d320b91198b74f2c493f7ace73f771b01e # Parent ab3c02dad95ca711b68ceccc55a76861152da9e9 editor: ensure that we propagate full stacktraces in a few places diff --git a/hgsubversion/editor.py b/hgsubversion/editor.py --- a/hgsubversion/editor.py +++ b/hgsubversion/editor.py @@ -570,13 +570,16 @@ class HgEditor(svnwrap.Editor): msg += _TXDELT_WINDOW_HANDLER_FAILURE_MSG e.args = (msg,) + others - raise e + + # re-raising ensures that we show the full stack trace + raise # window being None means commit this file if not window: self._openfiles[file_baton] = ( path, target, isexec, islink, copypath) except svnwrap.SubversionException, e: # pragma: no cover + self.ui.traceback() if e.args[1] == svnwrap.ERR_INCOMPLETE_DATA: self.addmissing(path) else: # pragma: no cover