darcs

Issue 2288 No way to determine which (if any) tag(s) "contain" a patch

Title No way to determine which (if any) tag(s) "contain" a patch
Priority wishlist Status resolved
Milestone Resolved in 2.18.1
Superseder Nosy List owst
Assigned To
Topics

Created on 2012-12-24.19:15:35 by owst, last changed 2026-07-29.20:23:16 by noreply.

Messages
msg16482 (view) Author: owst Date: 2012-12-24.19:15:34
1. Summarise the issue (what were doing, what went wrong?)

I wanted to recommend that user could upgrade to version x.y.z of darcs,
to use the "new" annotate. To try to do that, I trawled darcs changes &
found mornfall's patch which added the new implementation, but couldn't
easily determine which tag (and thus, version of darcs) contained that
patch.

2. What behaviour were you expecting instead?

I wanted to do something like:
    darcs cha -p 'annotate'
to determine the patch that added new annotate, and then do something like:
    darcs show tags --containing 'the patch in question'
to show me some list of tags, which would be those that transitively
contain the patch, allowing me to say "install version x.y.z or above"
or so.

So, to summarise, currently, `deps :: Tag -> [Patch]` is implemented,
but not `contains :: Patch -> [Tag]`. I suppose this could become a
general purpose matcher, but it doesn't seem to really be
useful/applicable elsewhere.
msg24223 (view) Author: noreply Date: 2026-07-29.20:23:16
The following patch sent by Ben Franksen <ben.franksen@online.de> updated issue issue2288 with
status=resolved;resolvedin=2.18.1

Hash: 3e3d4a4c81e2a9ce99766cfc766509e3ef9aa1b9
Author: Ben Franksen <ben.franksen@online.de>
* resolve issue2288: add --covering PATTERN option to show tags command
History
Date User Action Args
2012-12-24 19:15:35owstcreate
2026-07-29 20:23:16noreplysetstatus: unknown -> resolved
messages: + msg24223
resolvedin: 2.18.1