[PATCH 2 of 2] debug: pass debug flag to remote ui object
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Tue Apr 14 23:27:43 CDT 2015
On 04/14/2015 04:32 PM, Eric Sumner wrote:
> # HG changeset patch
> # User Eric Sumner <ericsumner at fb.com>
> # Date 1429043033 14400
> # Tue Apr 14 16:23:53 2015 -0400
> # Node ID b10599cba2adb8bf281ea9c913d6f235780618bf
> # Parent b30cb32ea6821e165aab65051767aa810fdb8464
> debug: pass debug flag to remote ui object
>
> When we're talking to another repository, --debug shows more information than
> setting ui.debug=True inside .hg/hgrc; this patch adds ui.debug to the config
> options that get copied into the new UI object for remote repos
Eric managed to convinces me that the "remote" is a small object that
exit in the "local" world, it does not read the other repo
configuration. So it make sense to reuse some of the local config (and
actually already to it). However, this mean we should also copy other ui
flag like 'verbose' or 'quiet'. I'm expecting a V2 with those, and some
testing.
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list