sapling/eden/scm/tests/test-extension-hgext-prefix.t
Xavier Deguillard e0e01cbc81 bundle2: backout D19656773
Summary: This broke a bunch of tests. Revert it and re-enable all the tests.

Reviewed By: DurhamG

Differential Revision: D19665042

fbshipit-source-id: c3c17e3ac7e2ea028be5b5836bc8349cdf56184e
2020-01-31 10:48:19 -08:00

17 lines
572 B
Perl

#chg-compatible
Using 'hgext.' prefix triggers the warning.
$ hg init --config extensions.hgext.rebase=
'hgext' prefix in [extensions] config section is deprecated.
(hint: replace 'hgext.rebase' with 'rebase')
If the location of the config is printed.
Despite the warning, the extension is still loaded.
$ setconfig extensions.hgext.rebase=
$ hg rebase -s 'tip-tip' -d 'tip'
'hgext' prefix in [extensions] config section is deprecated.
(hint: replace 'hgext.rebase' with 'rebase' at $TESTTMP/.hg/hgrc:2)
empty "source" revision set - nothing to rebase