changeset 1082:362e359607c1

push: allow obtaining the traceback for Subversion exceptions
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sat, 10 Aug 2013 08:01:36 +0200
parents c8d0f5983571
children 8087267d0805
files hgsubversion/pushmod.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/pushmod.py
+++ b/hgsubversion/pushmod.py
@@ -200,6 +200,8 @@ def commit(ui, repo, rev_ctx, meta, base
                           base_revision, set(addeddirs), set(deleteddirs),
                           props, newcopies)
     except svnwrap.SubversionException, e:
+        ui.traceback()
+
         if len(e.args) > 0 and e.args[1] in (svnwrap.ERR_FS_TXN_OUT_OF_DATE,
                                              svnwrap.ERR_FS_CONFLICT,
                                              svnwrap.ERR_FS_ALREADY_EXISTS):