Diff
Not logged in

Differences From:

File src/info.c part of check-in [b7f32a71ab] - Add web-based branch color changer. Add the "branch list" command. Simplifications to color propagation logic. by drh on 2009-01-20 22:21:24. [view]

To:

File src/info.c part of check-in [3b3116e490] - Add a gray color option on the color changer. Help the "info" webpage to figure out that an artifact is a check-ins when the check-in changes no files relative to its parent (when the check-in only creates a new branch.) by drh on 2009-01-20 22:53:09. [view]

@@ -1107,8 +1107,11 @@
   if( db_exists("SELECT 1 FROM tagxref JOIN tag USING(tagid)"
                 " WHERE rid=%d AND tagname LIKE 'tkt-%%'", rid) ){
     tinfo_page();
   }else
+  if( db_exists("SELECT 1 FROM plink WHERE cid=%d", rid) ){
+    vinfo_page();
+  }else
   {
     artifact_page();
   }
 }
@@ -1146,8 +1149,9 @@
      { "#ffc0ff", "#ffc0ff" },
      { "#ffc0d0", "#ffc0d0" },
      { "#fff0c0", "#fff0c0" },
      { "#f0ffc0", "#f0ffc0" },
+     { "#c0c0c0", "#c0c0c0" },
   };
   int i;
 
   login_check_credentials();