On 6/5/07, <b class="gmail_sendername">Matt Mackall</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Jun 05, 2007 at 10:46:41AM -0700, Eric Hopper wrote:<br>> On 6/5/07, Matt Mackall <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<br>> ><br>> >> Lastly, branches is made to not display 'inactive' branches by default.
<br>> >> An inactive branch is a branch for which there is no global repository<br>> >> head. A new option '-a' is created for branches to display a list of<br>> >> all the branches in the repository.
<br>> ><br>> >That's useful, but problematic. For instance, in the case of hg<br>> >itself, the stable branch is constantly folded back into main, so it's<br>> >basically never "active" by your definition. Perhaps reversing the
<br>> >sense of your "-a" from "--all" to "--active" and leaving "all" the<br>> >default is more appropriate?<br>><br>><br>> I was concerned that I was changing the current default behavior, but I
<br>> figured with a command that hadn't yet made it into a release that this was<br>> acceptable. :-)<br>><br>> Can you think of a better definition of 'active' than I'm using?<br><br>Well, we could sort by commit date or revision, which will put the
<br>branches with the most recent activity towards the beginning. I think<br>we already do that, in fact.<br><br>> Is anybody here using the branch feature? If so, how? Which default would<br>> be most useful for you and why?
<br><br>Perhaps simply listing branches that are heads first will help<br>matters. With a secondary sort by revision.</blockquote><div><br>Yes, that might be a good idea. Would you be willing to go for a visible marker for branches that are also heads? Maybe a line in the output or a * by the revision number or something easily awked or grepped out of existence?
<br><br>If there were some visible marker, I would be happy for the default to be to show them all. It would be a good reminder to me that some may not be relevant.<br><br></div></div>-- <br>Please only send email to this account that you consider public enough to be published on a public web page.
<br>Eric Hopper -- <a href="http://www.omnifarious.org/~hopper/">http://www.omnifarious.org/~hopper/</a><br>