Show More
@@ -274,7 +274,7 b' def overrideverify(orig, ui, repo, *pats' | |||
|
274 | 274 | contents = opts.pop('lfc', False) |
|
275 | 275 | |
|
276 | 276 | result = orig(ui, repo, *pats, **opts) |
|
277 | if large: | |
|
277 | if large or all or contents: | |
|
278 | 278 | result = result or lfcommands.verifylfiles(ui, repo, all, contents) |
|
279 | 279 | return result |
|
280 | 280 |
@@ -52,11 +52,12 b' def uisetup(ui):' | |||
|
52 | 52 | entry = extensions.wrapcommand(commands.table, 'verify', |
|
53 | 53 | overrides.overrideverify) |
|
54 | 54 | |
|
55 |
verifyopt = [('', 'large', None, |
|
|
55 | verifyopt = [('', 'large', None, | |
|
56 | _('verify that all largefiles in current revision exists')), | |
|
56 | 57 | ('', 'lfa', None, |
|
57 |
|
|
|
58 | _('verify largefiles in all revisions, not just current')), | |
|
58 | 59 | ('', 'lfc', None, |
|
59 |
|
|
|
60 | _('verify local largefile contents, not just existence'))] | |
|
60 | 61 | entry[1].extend(verifyopt) |
|
61 | 62 | |
|
62 | 63 | entry = extensions.wrapcommand(commands.table, 'debugstate', |
@@ -1217,7 +1217,7 b' revert some files to an older revision' | |||
|
1217 | 1217 | |
|
1218 | 1218 | - verifying all revisions will fail because we didn't clone all largefiles to d: |
|
1219 | 1219 | $ echo 'T-shirt' > $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1220 |
$ hg verify -q --l |
|
|
1220 | $ hg verify -q --lfa --lfc | |
|
1221 | 1221 | changeset 0:30d30fe6a5be: large1 references missing $TESTTMP/d/.hg/largefiles/4669e532d5b2c093a78eca010077e708a071bb64 |
|
1222 | 1222 | changeset 0:30d30fe6a5be: sub/large2 references missing $TESTTMP/d/.hg/largefiles/1deebade43c8c498a3c8daddac0244dc55d1331d |
|
1223 | 1223 | changeset 1:ce8896473775: large1 references missing $TESTTMP/d/.hg/largefiles/5f78770c0e77ba4287ad6ef3071c9bf9c379742f |
General Comments 0
You need to be logged in to leave comments.
Login now