Skip to content
Snippets Groups Projects
Commit 4f405afe authored by Georges Racinet's avatar Georges Racinet
Browse files

mercurial-repository.proto: undusting Mercurial config methods

In the the read operation `GetManagedConfig`, with `local=true`, it
is useful for the caller to know the difference between the setting
being set with the a value that coincides with the current default and
not set. In the latter case, a group setting or a global HGRC setting
can change it.

Moreover for the write operation: we don't want to accidentally override
the absence of setting by copying over a current default to the
project-specific managed file. We also need a way to clear settings,
if the caller want the inherited or default value to apply.

Finally, to reimplement everything that the Rails app is currently
doing, we needed the `by_line` field.
parent 399038f6
No related branches found
No related tags found
1 merge request!133Mercurial config management methods
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment