diff hgext/lfs/blobstore.py @ 35753:069df0b952e8

lfs: separate a debug message from the subsequent abort message
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 19 Jan 2018 19:13:11 -0500
parents b4e1d0654736
children fa993c3c8462
line wrap: on
line diff
--- a/hgext/lfs/blobstore.py	Fri Jan 19 14:25:09 2018 -0800
+++ b/hgext/lfs/blobstore.py	Fri Jan 19 19:13:11 2018 -0500
@@ -313,7 +313,7 @@
                     self.ui.debug('lfs %s response: %s' % (action, response))
         except util.urlerr.httperror as ex:
             if self.ui.debugflag:
-                self.ui.debug('%s: %s' % (oid, ex.read()))
+                self.ui.debug('%s: %s\n' % (oid, ex.read()))
             raise LfsRemoteError(_('HTTP error: %s (oid=%s, action=%s)')
                                  % (ex, oid, action))