# HG changeset patch # User Pierre-Yves David # Date 1488396124 -3600 # Node ID 71f692f1f678d86ffb4f95a3621aacfdaeb96b05 # Parent 0bb3089fe73527c64f1afc40b86ecb8dfe7fd7aa color: update the help table We also need to reference the new topic in the great old help table. diff -r 0bb3089fe735 -r 71f692f1f678 mercurial/help.py --- a/mercurial/help.py Sat Feb 25 14:09:55 2017 +0900 +++ b/mercurial/help.py Wed Mar 01 20:22:04 2017 +0100 @@ -208,6 +208,7 @@ return ''.join(lines) helptable = sorted([ + (['color'], _("Colorizing Outputs"), loaddoc('color')), (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), (["dates"], _("Date Formats"), loaddoc('dates')), (["patterns"], _("File Name Patterns"), loaddoc('patterns')), diff -r 0bb3089fe735 -r 71f692f1f678 tests/test-globalopts.t --- a/tests/test-globalopts.t Sat Feb 25 14:09:55 2017 +0900 +++ b/tests/test-globalopts.t Wed Mar 01 20:22:04 2017 +0100 @@ -340,6 +340,7 @@ additional help topics: + color Colorizing Outputs config Configuration Files dates Date Formats diffs Diff Formats @@ -422,6 +423,7 @@ additional help topics: + color Colorizing Outputs config Configuration Files dates Date Formats diffs Diff Formats diff -r 0bb3089fe735 -r 71f692f1f678 tests/test-help.t --- a/tests/test-help.t Sat Feb 25 14:09:55 2017 +0900 +++ b/tests/test-help.t Wed Mar 01 20:22:04 2017 +0100 @@ -102,6 +102,7 @@ additional help topics: + color Colorizing Outputs config Configuration Files dates Date Formats diffs Diff Formats @@ -178,6 +179,7 @@ additional help topics: + color Colorizing Outputs config Configuration Files dates Date Formats diffs Diff Formats @@ -825,6 +827,7 @@ additional help topics: + color Colorizing Outputs config Configuration Files dates Date Formats diffs Diff Formats @@ -1859,6 +1862,13 @@

Topics

+ + color + + + Colorizing Outputs + + config diff -r 0bb3089fe735 -r 71f692f1f678 tests/test-hgweb-json.t --- a/tests/test-hgweb-json.t Sat Feb 25 14:09:55 2017 +0900 +++ b/tests/test-hgweb-json.t Wed Mar 01 20:22:04 2017 +0100 @@ -1549,6 +1549,10 @@ ], "topics": [ { + "summary": "Colorizing Outputs", + "topic": "color" + }, + { "summary": "Configuration Files", "topic": "config" },