Skip to content
Snippets Groups Projects
Commit 2a03faf8 authored by Mads Kiilerich's avatar Mads Kiilerich
Browse files

largefiles: fix 'unexpected response' warning newlines

Warnings should always end with \n. The warning message might contain or end
with \n, so better show it with repr encoding.
parent b7aec4c8
Branches
Tags
No related merge requests found
......@@ -96,7 +96,7 @@
self.ui.warn(_('remote: '), l, '\n')
return int(d)
except (ValueError, urllib2.HTTPError):
self.ui.warn(_('unexpected putlfile response: %s') % res)
self.ui.warn(_('unexpected putlfile response: %r\n') % res)
return 1
# ... but we can't use sshrepository._call because the data=
# argument won't get sent, and _callpush does exactly what we want
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment