Patchwork lfs: separate a debug message from the subsequent abort message

login
register
mail settings
Submitter Matt Harbison
Date Jan. 20, 2018, 12:14 a.m.
Message ID <069df0b952e803b3efb3.1516407258@Envy>
Download mbox | patch
Permalink /patch/26999/
State Accepted
Headers show

Comments

Matt Harbison - Jan. 20, 2018, 12:14 a.m.
# HG changeset patch
# User Matt Harbison <matt_harbison@yahoo.com>
# Date 1516407191 18000
#      Fri Jan 19 19:13:11 2018 -0500
# Node ID 069df0b952e803b3efb3c59c423522a4800ecde4
# Parent  047581ddb6cefdbdeb50e314b3cc68f7611bddc7
lfs: separate a debug message from the subsequent abort message
Augie Fackler - Jan. 20, 2018, 1:49 a.m.
On Fri, Jan 19, 2018 at 07:14:18PM -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1516407191 18000
> #      Fri Jan 19 19:13:11 2018 -0500
> # Node ID 069df0b952e803b3efb3c59c423522a4800ecde4
> # Parent  047581ddb6cefdbdeb50e314b3cc68f7611bddc7
> lfs: separate a debug message from the subsequent abort message

queued, thanks

Patch

diff --git a/hgext/lfs/blobstore.py b/hgext/lfs/blobstore.py
--- a/hgext/lfs/blobstore.py
+++ b/hgext/lfs/blobstore.py
@@ -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))