##// END OF EJS Templates
largefiles: don't add extra \n when displaying remote messages in putlfile
Mads Kiilerich -
r19949:29f12a7a stable
parent child Browse files
Show More
@@ -93,7 +93,7 b' def wirereposetup(ui, repo):'
93 headers={'content-type':'application/mercurial-0.1'})
93 headers={'content-type':'application/mercurial-0.1'})
94 d, output = res.split('\n', 1)
94 d, output = res.split('\n', 1)
95 for l in output.splitlines(True):
95 for l in output.splitlines(True):
96 self.ui.warn(_('remote: '), l, '\n')
96 self.ui.warn(_('remote: '), l) # assume l ends with \n
97 return int(d)
97 return int(d)
98 except (ValueError, urllib2.HTTPError):
98 except (ValueError, urllib2.HTTPError):
99 self.ui.warn(_('unexpected putlfile response: %r\n') % res)
99 self.ui.warn(_('unexpected putlfile response: %r\n') % res)
@@ -1678,7 +1678,6 b' Corrupt the cached largefile in r7 and m'
1678 pushing to http://localhost:$HGPORT1/
1678 pushing to http://localhost:$HGPORT1/
1679 searching for changes
1679 searching for changes
1680 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash
1680 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash
1681
1682 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ (glob)
1681 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ (glob)
1683 [255]
1682 [255]
1684 $ mv 4cdac4d8b084d0b599525cf732437fb337d422a8 r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8
1683 $ mv 4cdac4d8b084d0b599525cf732437fb337d422a8 r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8
General Comments 0
You need to be logged in to leave comments. Login now