<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 3, 2017 at 11:57 PM, Yuya Nishihara <span dir="ltr"><<a href="mailto:yuya@tcha.org" target="_blank">yuya@tcha.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, 03 Nov 2017 17:28:27 -0700, Gregory Szorc wrote:<br>
> # HG changeset patch<br>
> # User Gregory Szorc <<a href="mailto:gregory.szorc@gmail.com">gregory.szorc@gmail.com</a>><br>
> # Date 1509755155 25200<br>
> #      Fri Nov 03 17:25:55 2017 -0700<br>
> # Branch stable<br>
> # Node ID f2390c369bfebf32f26f5a2e4aa562<wbr>0224a7c8ea<br>
> # Parent  f445b10dc7fb3495d24d1c22b09961<wbr>48864c77f7<br>
> subrepo: config option to disable subrepositories<br>
<br>
</span><span class="">> +``enablesubrepos``<br>
> +    Whether the subrepositories feature is enabled. If disabled,<br>
> +    subrepositories are effectively ignored by the Mercurial client.<br>
> +    (default: True)<br>
<br>
</span>We might want to select subrepo types to be enabled since hg subrepo is<br>
more widely used and considered less broken.<br></blockquote><div><br></div><div>I would like per-type controls as well.</div><div><br></div><div>I would prefer to start with a simple patch providing a master switch. We can add per-type switches in later. But we should have a plan for the option names so the end state has a reasonable UI.</div><div><br></div><div>I'll try to send out a V2 in the next few hours...<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> +TODO buggy because localrepository.commit() managed its file contents<br>
> +  $ hg commit -m 'manually add .hgsubstate'<br>
> +  nothing changed<br>
> +  [1]<br>
> +<br>
> +... but hg commit --amend works (this relies on a regression in 4.4)<br>
> +<br>
> +  $ hg commit --amend<br>
> +  saved backup bundle to $TESTTMP/testrepo0/.hg/strip-<wbr>backup/addf99df3e66-ab5c9ff8-<wbr>amend.hg (glob)<br>
<br>
</span>Yeah, it's the issue5677.<br>
<br>
<a href="https://bz.mercurial-scm.org/show_bug.cgi?id=5677" rel="noreferrer" target="_blank">https://bz.mercurial-scm.org/<wbr>show_bug.cgi?id=5677</a><br>
</blockquote></div><br></div></div>