<div dir="ltr">On Wed, May 27, 2015 at 2:52 PM, Matt Mackall <span dir="ltr"><<a href="mailto:mpm@selenic.com" target="_blank">mpm@selenic.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 2015-05-27 at 07:51 -0700, Gregory Szorc wrote:<br>
> > On May 26, 2015, at 13:02, Matt Mackall <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>> wrote:<br>
> ><br>
> > # HG changeset patch<br>
> > # User Matt Mackall <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>><br>
> > # Date 1432332539 18000<br>
> > #      Fri May 22 17:08:59 2015 -0500<br>
> > # Node ID da0105aee52a058e03db3e9c9a187962efc0c7db<br>
> > # Parent  6ac860f700b5cfeda232d5305963047696b869ca<br>
> > branch: don't warn about branches if repository has multiple branches already<br>
> ><br>
> > This warning exists to prevent git users from prematurely polluting<br>
> > their namespace when trying out Mercurial. But for repos that already<br>
> > have multiple branches, understanding what branches are is not<br>
> > optional so we should just shut up.<br>
> ><br>
><br>
> I'm not crazy about this. All it takes is one person in the history of<br>
> the repo to create a branch to cause this warning to disappear. The<br>
> probability of this approaches 1 over time. This change pretty much<br>
> guarantees that first time hg users on existing repos won't see the<br>
> warning.<br>
<br>
</span>I was worried that this was your oblique way to say "this patch<br>
accidentally takes closed branches into account", and indeed this is<br>
true. So I've updated the patch to check for at least one open branch<br>
not named default to disable the warning.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div>Taking count of open branches into account assuages some of my concerns. I still don't think it's great. e.g. large projects may have long-running open release branches. But it's better than v1.<br><br></div><div class="gmail_quote">It would be really nice if there was a concept of one time or at most N time warnings for helpful messages like this. But designing said system is scope bloat. I think the new version is good enough. Thanks for changing it.<br></div></div></div>