# HG changeset patch # User Anton Shestakov # Date 1649373590 -10800 # Node ID 6020b7e92a869c87680f88257aeef91d83380ef7 # Parent a1a9e6e43d4cb90fe81228ba2d1103ff5a8ff026 topic: update topic() revset docstring, mention hg help I was curious why we don't support glob patterns, only re. But turns out it's like this in upstream (e.g. branch revset) as well, so let's point to the relevant help page. diff -r a1a9e6e43d4c -r 6020b7e92a86 hgext3rd/topic/revset.py --- a/hgext3rd/topic/revset.py Fri Apr 08 02:05:42 2022 +0300 +++ b/hgext3rd/topic/revset.py Fri Apr 08 02:19:50 2022 +0300 @@ -26,8 +26,8 @@ """All changesets with the specified topic or the topics of the given changesets. Without the argument, all changesets with any topic specified. - If `string` starts with `re:` the remainder of the name is treated - as a regular expression. + Pattern matching is supported for `string`. See + :hg:`help revisions.patterns`. """ args = revset.getargs(x, 0, 1, b'topic takes one or no arguments')