Show More
@@ -343,11 +343,18 b' def extractpointers(repo, revs):' | |||
|
343 | 343 | """return a list of lfs pointers added by given revs""" |
|
344 | 344 | repo.ui.debug('lfs: computing set of blobs to upload\n') |
|
345 | 345 | pointers = {} |
|
346 | ||
|
347 | progress = repo.ui.makeprogress(_('lfs search'), _('changesets'), len(revs)) | |
|
348 | ||
|
349 | try: | |
|
346 | 350 | for r in revs: |
|
347 | 351 | ctx = repo[r] |
|
348 | 352 | for p in pointersfromctx(ctx).values(): |
|
349 | 353 | pointers[p.oid()] = p |
|
354 | progress.increment() | |
|
350 | 355 | return sorted(pointers.values()) |
|
356 | finally: | |
|
357 | progress.complete() | |
|
351 | 358 | |
|
352 | 359 | def pointerfromctx(ctx, f, removed=False): |
|
353 | 360 | """return a pointer for the named file from the given changectx, or None if |
General Comments 0
You need to be logged in to leave comments.
Login now