Check-in [3b3116e490]
Not logged in
Overview

SHA1 Hash:3b3116e4909ddca62d441dd95be203ad66477d14
Date: 2009-01-20 22:53:09
User: drh
Comment: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.)
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/info.c from [3249a68164] to [a275e2aa98].

@@ -1106,10 +1106,13 @@
   }else
   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();
   }
 }
 
@@ -1145,10 +1148,11 @@
      { "#d0c0ff", "#d0c0ff" },
      { "#ffc0ff", "#ffc0ff" },
      { "#ffc0d0", "#ffc0d0" },
      { "#fff0c0", "#fff0c0" },
      { "#f0ffc0", "#f0ffc0" },
+     { "#c0c0c0", "#c0c0c0" },
   };
   int i;
 
   login_check_credentials();
   if( !g.okWrite ){ login_needed(); return; }