diff hgext3rd/topic/__init__.py @ 6876:2edffcd94850

topic: make debugformatfqbn use short format by default This is to make the debug command more consistent with the internal API.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 19 Sep 2024 16:50:21 +0400
parents 6209891ff220
children f8ea46c21b56
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py	Thu Sep 19 16:48:48 2024 +0400
+++ b/hgext3rd/topic/__init__.py	Thu Sep 19 16:50:21 2024 +0400
@@ -1986,7 +1986,7 @@
         (b'b', b'branch', b'', b'branch'),
         (b'n', b'topic-namespace', b'', b'topic namespace'),
         (b't', b'topic', b'', b'topic'),
-        (b's', b'short', False, b'short format'),
+        (b's', b'short', True, b'short format'),
     ], optionalrepo=True)
 def debugformatfqbn(ui, repo, **opts):
     """format branch, namespace and topic into branch//namespace/topic string"""