lfs: separate a debug message from the subsequent abort message
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 19 Jan 2018 19:13:11 -0500
changeset 35753 069df0b952e8
parent 35752 047581ddb6ce
child 35754 fb0be099063f
lfs: separate a debug message from the subsequent abort message
hgext/lfs/blobstore.py
--- 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))