hgext/largefiles/proto.py
branchstable
changeset 19949 29f12a7a03ee
parent 19948 72214af683a2
child 21084 70252bdfd39c
--- a/hgext/largefiles/proto.py	Mon Oct 21 11:22:54 2013 +0800
+++ b/hgext/largefiles/proto.py	Thu Oct 24 01:49:56 2013 +0800
@@ -93,7 +93,7 @@
                         headers={'content-type':'application/mercurial-0.1'})
                     d, output = res.split('\n', 1)
                     for l in output.splitlines(True):
-                        self.ui.warn(_('remote: '), l, '\n')
+                        self.ui.warn(_('remote: '), l) # assume l ends with \n
                     return int(d)
                 except (ValueError, urllib2.HTTPError):
                     self.ui.warn(_('unexpected putlfile response: %r\n') % res)