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

View File

@@ -276,7 +276,7 @@ def export_patches(repo, out_dir, patch_range=None, dry_run=False):
if patch_range is None:
patch_range, num_patches = guess_base_commit(repo)
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)
patches = split_patches(patch_data)