Diff
Not logged in

Differences From:

File src/branch.c part of check-in [9659ed66f8] - Make the distinction between open and closed branches. An open branch is a branch with one or more open leaves. Show open and closed branches separately on the "Branches" webpage. by drh on 2009-01-23 23:57:11. [view]

To:

File src/branch.c part of check-in [83ac468aae] - Add a "nomenclature" sidebox for the Branches page, explaining the difference between an open and a closed branch. by drh on 2009-01-24 00:11:44. [view]

@@ -230,8 +230,21 @@
   style_header("Branches");
   style_submenu_element("Timeline", "Timeline", "brtimeline");
   login_anonymous_available();
   compute_leaves(0, 1);
+  style_sidebox_begin("Nomenclature:", "33%");
+  @ <ol>
+  @ <li> An <b>open branch</b> is a branch that has one or
+  @ more <a href="leaves">open leaves.</a>
+  @ The presence of open leaves presumably means
+  @ that the branch is still being extended with new check-ins.</li>
+  @ <li> A <b>closed branch</b> is a branch with only
+  @ <a href="leaves?closed">closed leaves</a>.
+  @ Closed branches are fixed and do not change (unless they are first
+  @ reopened)</li>
+  @ </ol>
+  style_sidebox_end();
+
   db_prepare(&q,
     "SELECT DISTINCT value FROM tagxref"
     " WHERE tagid=%d AND value NOT NULL"
     "   AND rid IN leaves"