[PATCH] lfs: separate a debug message from the subsequent abort message
Matt Harbison
mharbison72 at gmail.com
Sat Jan 20 00:14:18 UTC 2018
# HG changeset patch
# User Matt Harbison <matt_harbison at 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
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))
More information about the Mercurial-devel
mailing list