Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Étienne Deparis
Le 02/09/2013 18:36, Stephan Beal a écrit : Hi, all, i'm looking to prioritize some work on libfossil and i got the idea to try to find out which commands people use most often, and use that to help me prioritize. Hi! My main fossil usage is to sync my projects between two computers by

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Stephan Beal
On Tue, Sep 3, 2013 at 3:12 PM, Étienne Deparis etie...@depar.is wrote: In fact, I use a lot of status and extra automatically as I'm using liquidprompt (https://github.com/nojhan/**liquidprompthttps://github.com/nojhan/liquidprompt) for which I've added fossil support. Thanks for that tip

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Ross Berteig
On 9/2/2013 9:36 AM, Stephan Beal wrote: i'm looking to prioritize some work on libfossil and i got the idea to try to find out which commands people use most often, and use that to help me prioritize. I wonder how hard it would be for fossil to (optionally) keep the statistics you are

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Stephan Beal
On Tue, Sep 3, 2013 at 9:08 PM, Ross Berteig r...@cheshireeng.com wrote: I wonder how hard it would be for fossil to (optionally) keep the statistics you are interested in? That's an interesting question. Keeping them locally would be very little work, actually. Add a table keyed by fossil

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Matt Welland
On Tue, Sep 3, 2013 at 12:36 PM, Sergei Gavrikov sergei.gavri...@gmail.comwrote: history | gawk \ '{if($2==f||$2==fossil)s[$3]++}END{for(i in s)print s[i],i}'|sort -Vr Nice use of awk! That one is going in my notes. -V doesn't work on the sort available for me but -nr works nice. I keep

[fossil-users] RFC: new feature: CLI command stats collection

2013-09-03 Thread Stephan Beal
Hi, all, per Ross' suggestion in the top 5 commands thread, we now have a new feature: http://fossil-scm.org/index.html/timeline?r=usage-command (note that it's in a branch) Before trunking this, i'm looking for guinea pigs (ah, beta testers) to try it out, make suggestions, and potentially

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Stephan Beal
On Tue, Sep 3, 2013 at 9:32 PM, Matt Welland estifo...@gmail.com wrote: All assuming of course that fossil won't be upset by extraneous stuff in the global_config table. AFAIK we have no mechanisms in place for managing the contents of that db. Hmm... off topic but interesting, apparently

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Matt Welland
On Tue, Sep 3, 2013 at 12:19 PM, Stephan Beal sgb...@googlemail.com wrote: On Tue, Sep 3, 2013 at 9:08 PM, Ross Berteig r...@cheshireeng.com wrote: I wonder how hard it would be for fossil to (optionally) keep the statistics you are interested in? That's an interesting question. Keeping

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Stephan Beal
On Tue, Sep 3, 2013 at 9:19 PM, Stephan Beal sgb...@googlemail.com wrote: That's a very good idea. Added to my list. Thanks! This isn't checked in yet, but a prototype is in place which automatically updates the stats only for CLI mode and only if the command succeeds (i.e. if it does not

Re: [fossil-users] survey: your top 5 most-used fossil CLI commands?

2013-09-03 Thread Sergei Gavrikov
It seems for me it's good to know and the less-used commands :-) Yesterday I checked my list as % history | gawk \ '{if($2==f||$2==fossil)s[$3]++}END{for(i in s)print s[i],i}'|sort -Vr Sergei On Tue, 3 Sep 2013, Stephan Beal wrote: On Tue, Sep 3, 2013 at 9:08 PM, Ross Berteig

Re: [fossil-users] RFC: new feature: CLI command stats collection

2013-09-03 Thread Ross Berteig
On 9/3/2013 1:07 PM, Stephan Beal wrote: per Ross' suggestion in the top 5 commands thread, we now have a new feature: Cool. Is that a record for shortest time from suggestion to release of a new feature? I came back from lunch to find a discussion of its implementation waiting for me

Re: [fossil-users] RFC: new feature: CLI command stats collection

2013-09-03 Thread Stephan Beal
On Tue, Sep 3, 2013 at 11:02 PM, Ross Berteig r...@cheshireeng.com wrote: On 9/3/2013 1:07 PM, Stephan Beal wrote: per Ross' suggestion in the top 5 commands thread, we now have a new feature: Cool. Is that a record for shortest time from suggestion to release of a new feature? i don't

Re: [fossil-users] RFC: new feature: CLI command stats collection

2013-09-03 Thread Ross Berteig
Ok, since my meeting got pushed I decided to get the new usage command in my local copy to abuse it for a while. I did C:... fossil update tip which (probably by blind luck) picked up the latest change [e11bec] to the update-command branch. I then had to remember whether I last built with