<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 7:52 AM, Chris Muller <span dir="ltr">&lt;<a href="mailto:asqueaker@gmail.com" target="_blank">asqueaker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt;&gt; Eliot, is there some way to solve your issue without enumerating all<br>
&gt;&gt; filenames of a repository?<br>
&gt;<br>
&gt; I&#39;m out of my depth here.  Bert is the authority.  But I do know it is<br>
&gt; absolutely necessary to take account of the branch name.  Here&#39;s why:<br>
&gt;<br>
&gt; a) finding the head of a branch is extremely difficult if it is lumped in<br>
&gt; with the trunk.  For example in VMMaker the head of VMMaker is 284 while the<br>
&gt; head of VMMaker.oscog is 196.  So VMMaker.oscog is buried far down the list.<br>
&gt; This is sort-of sufferable by me, but not by newbies who likely won&#39;t find<br>
&gt; it.<br>
&gt;<br>
&gt; b) the &quot;is the package modified&quot; highlighting (emboldening and underlining)<br>
&gt; is entirely misleading if branches and trunks are lumped together.<br>
&gt;<br>
&gt; So please reconsider.  Monticello used to separate trunks and branches. The<br>
&gt; change that lumped them together make the system difficult to use for some<br>
&gt; packages (and I hope you agree VMMaker is kind of important).<br>
<br>
</div>I just want to understand better, not make anyone&#39;s life harder.  The<br>
breakage can be &quot;solved&quot; by adding<br>
<br>
   MCRepository&gt;&gt;allPackageAndBranchNames<br>
       ^ self allPackageNames<br>
<br>
but the reason I brought this up is because I put a lot of work into<br>
getting MC&#39;s treatment of repository&#39;s cleaned up and under control so<br>
that they all can work uniformly.  This change puts us back to<br>
supporting only FileBased repositories, which are slow because they<br>
can only do their work by enumerating all their files.<br>
<br>
..I can&#39;t see that Monticello has ever had any notion of branches --<br>
just its ancestry structure.  There&#39;s no &quot;Branch&quot; class of any kind<br>
and no methods (other than the ones recently added).  Not even a<br>
comment about it anywhere.<br>
<br>
We already have at least 3 fields that make up a MCVersionName<br>
(Package, author, version) and now this puts in a 4th.  It increases<br>
complexity of the code and even adds a new Preference all just for<br>
sorting items in one list widget -- this responsibility would seem<br>
fall more on MCRepositoryInspector.<br></blockquote><div><br></div><div>The preference was only introduced to avoid changing the (new) default behaviour.  Bert thinks (and I agree) that the preference isn&#39;t necessary.  I just haven&#39;t got around to removing it yet.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If there is no other way, fine, but currently it&#39;s mysterious and<br>
breaks the system, so I thought I&#39;d at least ask..<br></blockquote><div><br></div><div>Well, let&#39;s eliminate the mystery and fix it. Branches are really important and the UI needs to provide good support.  Let me eliminate the preference at least.</div>
<div>   </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks.<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>