Mercurial > evolve
diff tests/test-topic.t @ 2898:3dfc88c06378
topic: support --rev argument and properly process then as user input
Revisions inputed by the users should be processed using `scmutil.revrange`.
This will take alias into account and allow extensions to monitor the user
inputs.
As a side effect, the '_changetopics' function takes revisions as argument.
make the API clearer.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 01 Sep 2017 17:53:14 +0200 |
parents | 31cbace4c0f1 |
children | 8c2d3c474fc6 |
line wrap: on
line diff
--- a/tests/test-topic.t Fri Sep 01 17:37:47 2017 +0200 +++ b/tests/test-topic.t Fri Sep 01 17:53:14 2017 +0200 @@ -45,13 +45,13 @@ The --verbose version of this command display various information on the state of each topic. - options: + options ([+] can be repeated): - --clear clear active topic if any - -r --rev REV revset of existing revisions - -l --list show the stack of changeset in the topic - --age show when you last touched the topics - --current display the current topic only + --clear clear active topic if any + -r --rev REV [+] revset of existing revisions + -l --list show the stack of changeset in the topic + --age show when you last touched the topics + --current display the current topic only (some details hidden, use --verbose to show complete help) $ hg topics