changeset 5378:f18d2509e4f2

tests: simplify re-enabling topic extension since we use topic_setup.sh We don't need to provide any path to the extension (in fact, `hg config` here returned an empty string).
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 11 Jun 2020 23:36:58 +0800
parents a267a7d3e1c5
children 35e7c6f6d6dc
files tests/test-topic-push.t
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-topic-push.t	Thu Jun 11 23:28:10 2020 +0800
+++ b/tests/test-topic-push.t	Thu Jun 11 23:36:58 2020 +0800
@@ -309,8 +309,7 @@
 
 Pushing a new topic to a non publishing server should not be seen as a new head
 
-  $ printf "topic=" >> ../draft/.hg/hgrc
-  $ hg config extensions.topic >> ../draft/.hg/hgrc
+  $ echo 'topic =' >> ../draft/.hg/hgrc
   $ hg push ssh://user@dummy/draft
   pushing to ssh://user@dummy/draft
   searching for changes