Mercurial > public > mercurial-scm > evolve
diff hgext3rd/topic/__init__.py @ 6564:2d3771d61068
topic: use a config option to signal explicit target arguments (for tns)
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Oct 2023 15:07:38 -0300 |
parents | d08590ce067d |
children | cb009f13126a |
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py Mon Oct 09 15:06:26 2023 -0300 +++ b/hgext3rd/topic/__init__.py Mon Oct 09 15:07:38 2023 -0300 @@ -272,6 +272,11 @@ configitem(b'_internal', b'tns-publish', default=False, ) +# used for signaling that the current command has explicit target arguments +# (e.g. --rev or --branch) and we should ignore tns-default-* config +configitem(b'_internal', b'tns-explicit-target', + default=False, +) configitem(b'devel', b'tns-report-transactions', default=lambda: [], )