The “unversioned” lines on this page make no sense:
https://tangentsoft.com/pidp8i/stat
Look first at the fifth line: how can the unversioned files occupy 484% of the
repository space?
If you take the “4 files” link from that line, it totals to 15.3 MB, but on
line 3 of the /stat output, it says 101.0 MB, which is clearly where the
calculation gets thrown.
I looked into fixing it, but it’s not clear what the simple fix is. Over in
uvlist_page(), it’s doing the total in C code, whereas in stat_page() it’s
doing it in SQL.
Also, is line 137 in stat.c right?
pct = (iStored*100 + fsize - 1)/fsize;
Shouldn’t that be
pct = iStored*100/fsize;
?
_______________________________________________
fossil-dev mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev