build: show more info about exported patches (#27148)

This commit is contained in:
Shelley Vohr 2021-01-04 11:24:59 -08:00 committed by GitHub
parent 29c2e2cb97
commit a433fdd3d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -276,7 +276,7 @@ def export_patches(repo, out_dir, patch_range=None, dry_run=False):
if patch_range is None: if patch_range is None:
patch_range, num_patches = guess_base_commit(repo) patch_range, num_patches = guess_base_commit(repo)
sys.stderr.write( sys.stderr.write(
"Exporting {} patches since {}\n".format(num_patches, patch_range) "Exporting {} patches in {} since {}\n".format(num_patches, repo, patch_range[0:7])
) )
patch_data = format_patch(repo, patch_range) patch_data = format_patch(repo, patch_range)
patches = split_patches(patch_data) patches = split_patches(patch_data)