On Thu, Jan 17, 2013 at 10:03 AM, Stefan Bellon <sbel...@sbellon.de> wrote:

> While this seems to be an easy change, now the "dbstat" command outputs
> "checkin-count" while the "info" command outputs "checkins". And
> because the "dbstat" outputs quite a few other "counts" as well, you
> cannot easily change it to "checkins" there as well as otherwise
> consistency between the entries of the "dbstat" output would be broken.
>

The dbstat command is brand new (<1 week), meaning that we can still change
anything it does without any compatibility issues - feel free to make
suggestions. i don't mind making the changes, and the format of the dbstat
output is more or less irrelevant to me. Easiest would be if you just paste
in a mock-up of what you feel it should look like.

Interestingly the two outputs produce different data (but that's
> another matter):
>
> $ fossil info | grep checkin
> checkin-count: 10
> $ fossil dbstat | grep checkin
> checkin-count:      11
>

We discovered while adding dbstat that the /stat page and info command use
an algorithm which apparently isn't 100% correct for checkin counts. i'm
still investigating why this discrepancy exists (e.g. a bug or feature?),
and once that's resolved we'll likely go back and change either info/stat
or dbstat.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to