mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
largefiles: add missing \n in ui.warn messages
This commit is contained in:
parent
ee0298712d
commit
46512da6c4
@ -40,7 +40,7 @@ def putlfile(repo, proto, sha):
|
||||
tmpfp.close()
|
||||
lfutil.linktousercache(repo, sha)
|
||||
except IOError, e:
|
||||
repo.ui.warn(_('largefiles: failed to put %s into store: %s') %
|
||||
repo.ui.warn(_('largefiles: failed to put %s into store: %s\n') %
|
||||
(sha, e.strerror))
|
||||
return wireproto.pushres(1)
|
||||
finally:
|
||||
|
@ -26,7 +26,7 @@ class remotestore(basestore.basestore):
|
||||
_('remotestore: could not put %s to remote store %s')
|
||||
% (source, self.url))
|
||||
self.ui.debug(
|
||||
_('remotestore: put %s to remote store %s') % (source, self.url))
|
||||
_('remotestore: put %s to remote store %s\n') % (source, self.url))
|
||||
|
||||
def exists(self, hashes):
|
||||
return dict((h, s == 0) for (h, s) in self._stat(hashes).iteritems())
|
||||
|
@ -1678,6 +1678,7 @@ Corrupt the cached largefile in r7 and move it out of the servers usercache
|
||||
pushing to http://localhost:$HGPORT1/
|
||||
searching for changes
|
||||
remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash
|
||||
|
||||
abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ (glob)
|
||||
[255]
|
||||
$ mv 4cdac4d8b084d0b599525cf732437fb337d422a8 r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8
|
||||
|
Loading…
Reference in New Issue
Block a user