[PATCH 8 of 8 v2] help: mark boolean flags with a ^ and explain that they can be negated (RFC)

timeless timeless at gmail.com
Wed Aug 31 00:42:45 EDT 2016


In principle you shouldn't use multi occur to guard this.

     if multioccur:
-        header += (_(" ([+] can be repeated)"))
+        m = _(
+            " ([+] can be repeated, flags marked ^ can be negated with
--no-)")
+        header += (m)

It's too hard for me you write the correct logic (you can use a set and
dictionary).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160831/560e52aa/attachment.html>


More information about the Mercurial-devel mailing list