I was bored, so looked at old tickets and found this. Not sure if it's worth
the code, but someone once asked for it and it was simple enough to do.
The core functionality is in Darcs.Patch.Set.tagsCovering. Is this the right
place for it? I put it there because patchSetTags (the function used when we
have no --covering option) is also in that module.
1 patch for repository https://darcs.net/screened:
patch 3e3d4a4c81e2a9ce99766cfc766509e3ef9aa1b9
Author: Ben Franksen <ben.franksen@online.de>
Date: Sat Jun 22 09:37:33 CEST 2024
* resolve issue2288: add --covering PATTERN option to show tags command
It does seem a bit obscure from the description, but the motivation
in issue2288 makes sense to me.
Perhaps the help string could avoid the word "covering" and instead
say "containing"? I think the "(only)" is redundant too, if we are being
that precise we should use it almost everywhere.
Agreed regarding the "(only)".
I doubt that "containing" is any better than "covering". Neither term is
defined in the docs (I checked), so we rely on an intuitive understanding
anyway.
What about
"show tags that depend on the latest patch that matches PATTERN"
?
Following up on your comment.
2 patches for repository https://darcs.net/screened:
patch 3e3d4a4c81e2a9ce99766cfc766509e3ef9aa1b9
Author: Ben Franksen <ben.franksen@online.de>
Date: Sat Jun 22 09:37:33 CEST 2024
* resolve issue2288: add --covering PATTERN option to show tags command
patch 2a38a9de33638564b821d95a69acfcfbc3837149
Author: Ben Franksen <ben.franksen@online.de>
Date: Sat Nov 30 14:11:59 CET 2024
* improve help text for --covering option