Diff
Not logged in

Differences From:

File src/checkin.c part of check-in [89d100b845] - Make the "ls" command report MISSING instead of EDITED for files that do not exist in the tree. Ticket ce458c35ca. by drh on 2008-10-31 14:01:16. [view]

To:

File src/checkin.c part of check-in [b54de50ac5] - Update for making mycfg.exe. WARNING: This is an incompatible change. Do not use this branch of development to build a copy of fossil that needs to interoperate with official releases. by urmil on 2008-11-03 09:55:46. [view]

@@ -171,9 +171,9 @@
   blob_init(&path, g.zLocalRoot, n-1);
   vfile_scan(0, &path, blob_size(&path));
   db_prepare(&q,
       "SELECT x FROM sfile"
-      " WHERE x NOT IN ('manifest','manifest.uuid','_FOSSIL_')"
+      " WHERE x NOT IN ('manifest','manifest.uuid','_MYCFG_')"
       " ORDER BY 1");
   if( file_tree_name(g.zRepositoryName, &repo, 0) ){
     db_multi_exec("DELETE FROM sfile WHERE x=%B", &repo);
   }
@@ -199,8 +199,9 @@
   int allFlag;
   Blob path, repo;
   Stmt q;
   int n;
+  printf ("This feature is disabled.\n"); return;
   allFlag = find_option("all","a",0)!=0;
   db_must_be_within_tree();
   db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
   n = strlen(g.zLocalRoot);
@@ -207,9 +208,9 @@
   blob_init(&path, g.zLocalRoot, n-1);
   vfile_scan(0, &path, blob_size(&path));
   db_prepare(&q,
       "SELECT %Q || x FROM sfile"
-      " WHERE x NOT IN ('manifest','manifest.uuid','_FOSSIL_')"
+      " WHERE x NOT IN ('manifest','manifest.uuid','_MYCFG_')"
       " ORDER BY 1", g.zLocalRoot);
   if( file_tree_name(g.zRepositoryName, &repo, 0) ){
     db_multi_exec("DELETE FROM sfile WHERE x=%B", &repo);
   }