Fossil

Check-in [7b45d101]
Login

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

Overview
Comment:Fix an out-of-order local variable declaration. Ticket [a659e233cd79a0d].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | config-sync
Files: files | file ages | folders
SHA1:7b45d101dd5b08716ecb6210214ef086825531d3
User & Date: drh 2011-04-27 01:40:39
Original Comment: Fix an out-of-order local variable declaration.
Context
2011-04-27
02:05
Fix an issue with the --legacy option to configuration pull. Closed-Leaf check-in: 940faaa3 user: drh tags: config-sync
01:40
Fix an out-of-order local variable declaration. Ticket [a659e233cd79a0d]. check-in: 7b45d101 user: drh tags: config-sync
01:35
Further minor tweaks to configuration sync. check-in: b5aa3bfe user: drh tags: config-sync
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
290
291
292
void clean_cmd(void){
  int allFlag;
  int dotfilesFlag;
  const char *zIgnoreFlag;
  Blob path, repo;
  Stmt q;
  int n;


  allFlag = find_option("force","f",0)!=0;
  dotfilesFlag = find_option("dotfiles",0,0)!=0;
  zIgnoreFlag = find_option("ignore",0,1);
  Glob *pIgnore;

  db_must_be_within_tree();
  if( zIgnoreFlag==0 ){
    zIgnoreFlag = db_get("ignore-glob", 0);
  }
  db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
  n = strlen(g.zLocalRoot);
  blob_init(&path, g.zLocalRoot, n-1);







>
>



<
<







274
275
276
277
278
279
280
281
282
283
284
285


286
287
288
289
290
291
292
void clean_cmd(void){
  int allFlag;
  int dotfilesFlag;
  const char *zIgnoreFlag;
  Blob path, repo;
  Stmt q;
  int n;
  Glob *pIgnore;

  allFlag = find_option("force","f",0)!=0;
  dotfilesFlag = find_option("dotfiles",0,0)!=0;
  zIgnoreFlag = find_option("ignore",0,1);


  db_must_be_within_tree();
  if( zIgnoreFlag==0 ){
    zIgnoreFlag = db_get("ignore-glob", 0);
  }
  db_multi_exec("CREATE TEMP TABLE sfile(x TEXT PRIMARY KEY)");
  n = strlen(g.zLocalRoot);
  blob_init(&path, g.zLocalRoot, n-1);