mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
fd1b928138
Summary: Be compatible with `hgext.` or `hgext/` prefix. But print a warning saying it's deprecated. Reviewed By: DurhamG Differential Revision: D13490362 fbshipit-source-id: ef13bd57a74be810df409af18a6259bc7b2b6dad
15 lines
555 B
Perl
15 lines
555 B
Perl
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
|