Show More
@@ -375,13 +375,6 b' def verifylfiles(ui, repo, all=False, co' | |||
|
375 | 375 | store = basestore._openstore(repo) |
|
376 | 376 | return store.verify(revs, contents=contents) |
|
377 | 377 | |
|
378 | def debugdirstate(ui, repo): | |
|
379 | '''Show basic information for the largefiles dirstate''' | |
|
380 | lfdirstate = lfutil.openlfdirstate(ui, repo) | |
|
381 | for file_, ent in sorted(lfdirstate._map.iteritems()): | |
|
382 | mode = '%3o' % (ent[1] & 0777 & ~util.umask) | |
|
383 | ui.write("%c %s %10d %s\n" % (ent[0], mode, ent[2], file_)) | |
|
384 | ||
|
385 | 378 | def cachelfiles(ui, repo, node, filelist=None): |
|
386 | 379 | '''cachelfiles ensures that all largefiles needed by the specified revision |
|
387 | 380 | are present in the repository's largefile cache. |
@@ -286,7 +286,9 b' def overrideverify(orig, ui, repo, *pats' | |||
|
286 | 286 | def overridedebugstate(orig, ui, repo, *pats, **opts): |
|
287 | 287 | large = opts.pop('large', False) |
|
288 | 288 | if large: |
|
289 | lfcommands.debugdirstate(ui, repo) | |
|
289 | class fakerepo(object): | |
|
290 | dirstate = lfutil.openlfdirstate(ui, repo) | |
|
291 | orig(ui, fakerepo, *pats, **opts) | |
|
290 | 292 | else: |
|
291 | 293 | orig(ui, repo, *pats, **opts) |
|
292 | 294 |
General Comments 0
You need to be logged in to leave comments.
Login now