comparison tests/test-topic.t @ 2995:dbc896a7a1c3

topics: make sure user don't pass both the age option and a topic name
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 25 Sep 2017 03:30:56 +0530
parents 1e8ac0fcd6b7
children a61634f52742
comparison
equal deleted inserted replaced
2994:1e8ac0fcd6b7 2995:dbc896a7a1c3
997 $ hg topics --age 997 $ hg topics --age
998 topic2010 (2010-01-01 by bar) 998 topic2010 (2010-01-01 by bar)
999 topic1990 (1990-01-01 by foo) 999 topic1990 (1990-01-01 by foo)
1000 * topic1970 (1970-01-01 by test) 1000 * topic1970 (1970-01-01 by test)
1001 1001
1002 $ hg topics --age random
1003 abort: cannot use --age while setting a topic
1004 [255]
1002 $ cd .. 1005 $ cd ..