Fossil

Check-in [3a44f95f]
Login

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

Overview
Comment:Make sure the "fossil rebuild" command always ends up showing "100.0% complete", not "99.9%" or "100.1%".
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3a44f95f40a193739aaafc2409f155df43e74a6f
User & Date: drh 2012-02-21 02:01:20.193
References
2012-03-01
01:43 Fixed ticket [6b6c379a]: progress display goes over 100% plus 2 other changes ... (artifact: bda71ce7 user: dmitry)
Context
2012-02-24
13:40
Merge wideAnnotateUser and jsonWarnings into trunk. ... (check-in: 18dd383e user: drh tags: trunk)
11:36
For annotate, make the fixed user name field wider (e.g. 'Administrator'). ... (Closed-Leaf check-in: dbf4ecf4 user: mistachkin tags: wideAnnotateUser)
2012-02-23
11:32
Fix warnings in json support code (unused variables, unused label, etc). ... (Closed-Leaf check-in: 86f6e675 user: mistachkin tags: jsonWarnings)
2012-02-21
02:01
Make sure the "fossil rebuild" command always ends up showing "100.0% complete", not "99.9%" or "100.1%". ... (check-in: 3a44f95f user: drh tags: trunk)
01:53
Enhance the "fossil rebuild" command so that it looks at "private" --raw tags and rebuilds the PRIVATE table to contain (at least) the content that is tagged "private". ... (check-in: 2f98f660 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/rebuild.c.
422
423
424
425
426
427
428

429
430
431
432
433
434
435
  }
  if( doClustering ) create_cluster();
  if( ttyOutput && !g.fQuiet && totalSize>0 ){
    processCnt += incrSize;
    percent_complete((processCnt*1000)/totalSize);
  }
  if(!g.fQuiet && ttyOutput ){

    fossil_print("\n");
  }
  return errCnt;
}

/*
** Attempt to convert more full-text blobs into delta-blobs for







>







422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
  }
  if( doClustering ) create_cluster();
  if( ttyOutput && !g.fQuiet && totalSize>0 ){
    processCnt += incrSize;
    percent_complete((processCnt*1000)/totalSize);
  }
  if(!g.fQuiet && ttyOutput ){
    percent_complete(1000);
    fossil_print("\n");
  }
  return errCnt;
}

/*
** Attempt to convert more full-text blobs into delta-blobs for