# HG changeset patch # User Mads Kiilerich # Date 1360325305 -3600 # Node ID 4db9e31ae6055cc5ee01a50e6466dd94b436b412 # Parent 003730ca254d923129eeed2ee4c5f550eb8816dc largefiles: docstrings for verify methods diff -r 003730ca254d -r 4db9e31ae605 hgext/largefiles/basestore.py --- a/hgext/largefiles/basestore.py Fri Feb 08 13:00:08 2013 +0100 +++ b/hgext/largefiles/basestore.py Fri Feb 08 13:08:25 2013 +0100 @@ -133,6 +133,11 @@ def _verifyfile(self, cctx, cset, contents, standin, verified): '''Perform the actual verification of a file in the store. + 'cset' is only used in warnings. + 'contents' controls verification of content hash. + 'standin' is the standin path of the largefile to verify. + 'verified' is maintained as a set of already verified files. + Returns _true_ if it is a standin and any problems are found! ''' raise NotImplementedError('abstract method') diff -r 003730ca254d -r 4db9e31ae605 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Fri Feb 08 13:00:08 2013 +0100 +++ b/hgext/largefiles/lfcommands.py Fri Feb 08 13:08:25 2013 +0100 @@ -368,9 +368,9 @@ ui.progress(_('uploading largefiles'), None) def verifylfiles(ui, repo, all=False, contents=False): - '''Verify that every big file revision in the current changeset + '''Verify that every largefile revision in the current changeset exists in the central store. With --contents, also verify that - the contents of each big file revision are correct (SHA-1 hash + the contents of each local largefile file revision are correct (SHA-1 hash matches the revision ID). With --all, check every changeset in this repository.''' if all: