Not logged in
Diff

Differences From Artifact [d5e0c2dc93]:

  • File src/allrepo.c — part of check-in [69974aaa19] at 2014-04-03 19:13:42 on branch trunk — Enhance the 'fossil extras' and 'fossil all extras' commands using the new --header option to get them to print the associated repository first. (user: mistachkin size: 11413) [more...]

To Artifact [7ee7dd0a42]:

  • File src/allrepo.c — part of check-in [9df71fe36c] at 2014-04-28 10:26:24 on branch trunk — Use file_access(..., F_OK) in stead of file_access(..., 0) everywhere, in case some platforms exist where F_OK != 0. Remove a few end-of-line spaces. (user: jan.nijtmans size: 11412) [more...]

280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
       " WHERE substr(name, 1, 5)=='repo:'"
       " ORDER BY 1"
    );
  }
  db_multi_exec("CREATE TEMP TABLE todel(x TEXT)");
  while( db_step(&q)==SQLITE_ROW ){
    const char *zFilename = db_column_text(&q, 0);
    if( file_access(zFilename, 0)
     || !file_is_canonical(zFilename)
     || (useCheckouts && file_isdir(zFilename)!=1)
    ){
      db_multi_exec("INSERT INTO todel VALUES(%Q)", db_column_text(&q, 1));
      nToDel++;
      continue;
    }







|







280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
       " WHERE substr(name, 1, 5)=='repo:'"
       " ORDER BY 1"
    );
  }
  db_multi_exec("CREATE TEMP TABLE todel(x TEXT)");
  while( db_step(&q)==SQLITE_ROW ){
    const char *zFilename = db_column_text(&q, 0);
    if( file_access(zFilename, F_OK)
     || !file_is_canonical(zFilename)
     || (useCheckouts && file_isdir(zFilename)!=1)
    ){
      db_multi_exec("INSERT INTO todel VALUES(%Q)", db_column_text(&q, 1));
      nToDel++;
      continue;
    }