Fossil

Check-in [b24b2e1b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fix ticket [fc428d2107d6b810fff67892896137c66abd3484]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b24b2e1bba681bc13fa17830a6f874e36628d644
User & Date: rwilson 2010-05-12 14:08:02
References
2010-05-12
14:09 Fixed ticket [fc428d21]: fossil extras generates SQL error after c193d2c2e0 plus 2 other changes artifact: ba3d1d65 user: rwilson
Context
2010-05-14
17:02
On the timeline graph, strive to put the "trunk" to the far left. Closed-Leaf check-in: 4c931047 user: drh tags: trunk
2010-05-12
14:08
fix ticket [fc428d2107d6b810fff67892896137c66abd3484] check-in: b24b2e1b user: rwilson tags: trunk
2010-05-09
16:51
Fix a documentation typo. Ticket [64386b2221309d]. check-in: 11b3f31d user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/checkin.c.

274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
  blob_init(&path, g.zLocalRoot, n-1);
  if( zIgnoreFlag==0 ){
    zIgnoreFlag = db_get("ignore-glob", 0);
  }
  vfile_scan(0, &path, blob_size(&path), allFlag);
  db_prepare(&q, 
      "SELECT x FROM sfile"
      " WHERE x NOT GLOB ('manifest','manifest.uuid','_FOSSIL_',"
                         "'_FOSSIL_-journal','.fos','.fos-journal');"
      "   AND NOT %s"
      " ORDER BY 1",
      glob_expr("x", zIgnoreFlag)
  );
  if( file_tree_name(g.zRepositoryName, &repo, 0) ){
    db_multi_exec("DELETE FROM sfile WHERE x=%B", &repo);
  }







|
|







274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
  blob_init(&path, g.zLocalRoot, n-1);
  if( zIgnoreFlag==0 ){
    zIgnoreFlag = db_get("ignore-glob", 0);
  }
  vfile_scan(0, &path, blob_size(&path), allFlag);
  db_prepare(&q, 
      "SELECT x FROM sfile"
      " WHERE x NOT IN ('manifest','manifest.uuid','_FOSSIL_',"
                         "'_FOSSIL_-journal','.fos','.fos-journal')"
      "   AND NOT %s"
      " ORDER BY 1",
      glob_expr("x", zIgnoreFlag)
  );
  if( file_tree_name(g.zRepositoryName, &repo, 0) ){
    db_multi_exec("DELETE FROM sfile WHERE x=%B", &repo);
  }