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

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

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

2013-09-02 Thread Stephan Beal
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. So... which fossil CLI commands do you use most often, NOT counting the following (which are more or less required for any

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

2013-09-02 Thread Martin S. Weber
On Mon, Sep 02, 2013 at 06:36:42PM +0200, Stephan Beal wrote: (...) So... which fossil CLI commands do you use most often, NOT counting the following (which are more or less required for any real work): (...) changes add/addremove/rm/mv stash merge (settings? remote-url?) would be what

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

2013-09-02 Thread Martin Gagnon
revert, init(new), extra, rm, mv, gdiff, merge, ls -- Mobile == toppost brief; Martin G. Le 2 sept. 2013 12:36, Stephan Beal sgb...@googlemail.com 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

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

2013-09-02 Thread Joerg Sonnenberger
On Mon, Sep 02, 2013 at 06:36:42PM +0200, 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. Recursive add and revert would be the biggest item :) Joerg

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

2013-09-02 Thread Stephan Beal
On Mon, Sep 2, 2013 at 7:18 PM, Joerg Sonnenberger jo...@britannica.bec.dewrote: On Mon, Sep 02, 2013 at 06:36:42PM +0200, 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

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

2013-09-02 Thread Themba Fletcher
status stash merge 'branch ls' undo/revert I prefer status to changes because it shows me where I'm coming from (current checkout and branch). I use it by habit after every phone call, coffee break, and misc interruption, so I'd bet probably more than any other command. On Monday, September 2,

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

2013-09-02 Thread Martin S. Weber
On Mon, Sep 02, 2013 at 07:30:01PM +0200, Stephan Beal wrote: @All: Your answers surprise me a bit, guys. addremove, really? i've never used that one, either. I find it easy to bring my checkout to the state I want the DB to reflect and then just go ahead and do so in a single swoop. Getting

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

2013-09-02 Thread Stephan Beal
On Mon, Sep 2, 2013 at 7:41 PM, Themba Fletcher themba.fletc...@gmail.comwrote: I prefer status to changes because it shows me where I'm coming from (current checkout and branch). I use it by habit after every phone call, coffee break, and misc interruption, so I'd bet probably more than any

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

2013-09-02 Thread Stephan Beal
On Mon, Sep 2, 2013 at 8:41 PM, Martin S. Weber ephae...@gmx.net wrote: I find it easy to bring my checkout to the state I want the DB to reflect and then just go ahead and do so in a single swoop. Getting (all) files in place and teaching fossil about it is one of my use cases, if you will.

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

2013-09-02 Thread Michai Ramakers
On 2 September 2013 18:36, Stephan Beal sgb...@googlemail.com 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. one more 'addremove' fan. when: gather external docs like

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

2013-09-02 Thread Martin S. Weber
On Mon, Sep 02, 2013 at 07:54:35PM +0200, Stephan Beal wrote: On Mon, Sep 2, 2013 at 8:41 PM, Martin S. Weber ephae...@gmx.net wrote: I find it easy to bring my checkout to the state I want the DB to reflect and then just go ahead and do so in a single swoop. Getting (all) files in place

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

2013-09-02 Thread Themba Fletcher
For some irrational reason I avoid addremove as well. I find myself piping fossil changes through grep and awk and then xargs-ing back to fossil rm or add whenever it comes up - and I *know* that addremove will do the same thing. I just can't bring myself to use it :) On Monday, September 2,

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

2013-09-02 Thread Matt Welland
On Mon, Sep 2, 2013 at 11:41 AM, Martin S. Weber ephae...@gmx.net wrote: On Mon, Sep 02, 2013 at 07:30:01PM +0200, Stephan Beal wrote: @All: Your answers surprise me a bit, guys. addremove, really? i've never used that one, either. I find it easy to bring my checkout to the state I want