Reputation: 9967
Is there any built in mechanism for editing a repository's hgrc
config file using the Mercurial API? I'm writing an extension that requires storing some options in the config file, and I'd like to provide a command for do so (the options that need to be stored involve timestamps and would be a little tricky for users to edit manually).
Upvotes: 0
Views: 111
Reputation: 78330
The Mercurial codebase does not provide any automated way to edit hgrc files except when they're first created by a clone
operation and then only to set the paths.default
setting to the origin.
Upvotes: 1