# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1506290385 -19800 # Node ID 1e8ac0fcd6b7f22a2c53f3684aae7dddeb425804 # Parent 725b660d988676ab344a35d7d992d3932ce37bf3 topics: spell out topics completely in help diff -r 725b660d9886 -r 1e8ac0fcd6b7 hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py Mon Sep 25 03:23:06 2017 +0530 +++ b/hgext3rd/topic/__init__.py Mon Sep 25 03:29:45 2017 +0530 @@ -387,19 +387,19 @@ Clear topic on existing topiced revisions:: - hg topic --rev --clear + hg topics --rev --clear Change topic on some revisions:: - hg topic --rev + hg topics --rev Clear current topic:: - hg topic --clear + hg topics --clear Set current topic:: - hg topic + hg topics List of topics:: @@ -408,14 +408,14 @@ List of topics sorted according to their last touched time displaying last touched time and the user who last touched the topic:: - hg topic --age + hg topics --age The active topic (if any) will be prepended with a "*". The `--current` flag helps to take active topic into account. For example, if you want to set the topic on all the draft changesets to the active topic, you can do: - `hg topic -r "draft()" --current` + `hg topics -r "draft()" --current` The --verbose version of this command display various information on the state of each topic.""" diff -r 725b660d9886 -r 1e8ac0fcd6b7 tests/test-topic.t --- a/tests/test-topic.t Mon Sep 25 03:23:06 2017 +0530 +++ b/tests/test-topic.t Mon Sep 25 03:29:45 2017 +0530 @@ -20,19 +20,19 @@ Clear topic on existing topiced revisions: - hg topic --rev --clear + hg topics --rev --clear Change topic on some revisions: - hg topic --rev + hg topics --rev Clear current topic: - hg topic --clear + hg topics --clear Set current topic: - hg topic + hg topics List of topics: @@ -41,13 +41,13 @@ List of topics sorted according to their last touched time displaying last touched time and the user who last touched the topic: - hg topic --age + hg topics --age The active topic (if any) will be prepended with a "*". The '--current' flag helps to take active topic into account. For example, if you want to set the topic on all the draft changesets to the active - topic, you can do: 'hg topic -r "draft()" --current' + topic, you can do: 'hg topics -r "draft()" --current' The --verbose version of this command display various information on the state of each topic.