Pruning rewrite snapshots

The snapshots with the rewrite tag are those that a newly created by the rewrite command. The original snapshots are not modified by the rewrite command (--forget deletes them though).

rewrite just works on the snapshots you tell it to process, the rewrite tag has no special meaning there. check simply processes all snapshots in the repository; tags are irrelevant for it.