Changeset 3f32be194c22…
Parent 82f22304cc78…
by Andrew Pritchard <andrewp@fogcreek.com>
Changes to one file · Browse files at 3f32be194c22 Showing diff from parent 82f22304cc78 Diff from another changeset...
@@ -30,6 +30,8 @@
def put(self, source, hash):
self.sendfile(source, hash)
+ if not self._verify(hash):
+ raise util.Abort(_('could not put %s to remote store') % source)
self.ui.debug('put %s to remote store\n' % source)
def exists(self, hash):
|
Loading...