##// END OF EJS Templates
largefiles: docstrings for verify methods
Mads Kiilerich -
r18574:4db9e31a default
parent child Browse files
Show More
@@ -133,6 +133,11 b' class basestore(object):'
133 133
134 134 def _verifyfile(self, cctx, cset, contents, standin, verified):
135 135 '''Perform the actual verification of a file in the store.
136 'cset' is only used in warnings.
137 'contents' controls verification of content hash.
138 'standin' is the standin path of the largefile to verify.
139 'verified' is maintained as a set of already verified files.
140 Returns _true_ if it is a standin and any problems are found!
136 141 '''
137 142 raise NotImplementedError('abstract method')
138 143
@@ -368,9 +368,9 b' def uploadlfiles(ui, rsrc, rdst, files):'
368 368 ui.progress(_('uploading largefiles'), None)
369 369
370 370 def verifylfiles(ui, repo, all=False, contents=False):
371 '''Verify that every big file revision in the current changeset
371 '''Verify that every largefile revision in the current changeset
372 372 exists in the central store. With --contents, also verify that
373 the contents of each big file revision are correct (SHA-1 hash
373 the contents of each local largefile file revision are correct (SHA-1 hash
374 374 matches the revision ID). With --all, check every changeset in
375 375 this repository.'''
376 376 if all:
General Comments 0
You need to be logged in to leave comments. Login now