On 24/08/17 12:42 AM, Uwe Brauer via Mercurial wrote:
Hi
I am on Ubuntu 24.04.
1. I know that if I don't set an extension globally in my .hgrc
file, I can set it locally in my .hg/hgrc file,
2. The same holds for a specific configuration.
But can I achieve the opposite, that is
- globally in my .hgrc file I have activated the hg-git extension
- but in a specific repository, I would like not to use that
extension,
- the same holds for a configuration option say
in my .hgrc file I have
,----
| [experimental]
| hg-git-mode = branches
`----
but I would like to de-activate that option in a specific
repository.
Any idea how to achieve that?
Under /hg help config.extensions/, 4th paragraph
To explicitly disable an extension that is enabled in an hgrc
of broader
scope, prepend its path with "!", as in "foo = !/ext/path" or
"foo = !"
when path is not supplied.
might be what you're looking for
-ernie
Regards
Uwe Braure
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial