Kiln » largefiles » largefiles-kiln-truncated changes meant to be shipped in Kiln Extensions to aid migration path to Mercurial-bundled largefiles
Clone URL:  

httpstore: check that bfiles were successfully uploaded to avoid false successes with hg serve

Changeset 3f32be194c22

Parent 82f22304cc78

by Profile picture of User 521Andrew Pritchard <andrewp@fogcreek.com>

Changes to one file · Browse files at 3f32be194c22 Showing diff from parent 82f22304cc78 Diff from another changeset...

 
30
31
32
 
 
33
34
35
 
30
31
32
33
34
35
36
37
@@ -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):