Re: [fossil-users] close leaf from command-line, and 'apropos(1)'-like behaviour?

2015-07-21 Thread Andy Bradford
Thus said Michai Ramakers on Tue, 21 Jul 2015 11:06:31 +0200:

 Is there a way using legacy commands?

You can always use fossil tag, however, using it requires more knowledge
of internal mechanisms than you probably care to know.

Andy
--
TAI64 timestamp: 400055aec1d1
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] close leaf from command-line, and 'apropos(1)'-like behaviour?

2015-07-21 Thread Stephan Beal
On Tue, Jul 21, 2015 at 11:06 AM, Michai Ramakers m.ramak...@gmail.com
wrote:

 Hello,

 I was searching for a way to close a leaf from the command-line, and
 didn't find it. (The new 'check-in-edit' branch can do this using
 'amend --close'.)

 Is there a way using legacy commands?


Kind of, but this might not be what you are looking for:

http://www.fossil-scm.org/index.html/help/commit

see the --close option.



 Also, I notice there are generally questions on this list of the form
 'where is command XYZ to do PQR', just like this very post. As the set
 of command-line commands and options grows, it becomes more difficult
 to find how to do something; some functionality exists as a separate
 command, some other exists as option to a command. (I had expected the
 'branch' command to have a 'close' subcommand, for instance.)


fwiw, that's where i just looked for it, too ;).

Is it an idea to have an 'apropos(1)'-like subcommand or option to the...

In my case, I knew I needed/wanted something that CLOSEs something, so

I would have keyword-searched for 'close'.

 I'm happy with the 'amend' command btw. And I guess that as I become
 more familiar with fossil's internals or philosophy, it becomes easier
 to guess the command that provides a wanted behaviour.



Sounds like a reasonable suggestion to me, but not sure how bothersome it
would be to maintain the apropos mappings (maybe via extra internal tags in
the help text blocks).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] close leaf from command-line, and 'apropos(1)'-like behaviour?

2015-07-21 Thread Michai Ramakers
On 21 July 2015 at 11:12, Stephan Beal sgb...@googlemail.com wrote:
 On Tue, Jul 21, 2015 at 11:06 AM, Michai Ramakers m.ramak...@gmail.com
 wrote:

 Is it an idea to have an 'apropos(1)'-like subcommand or option to the...

 Sounds like a reasonable suggestion to me, but not sure how bothersome it
 would be to maintain the apropos mappings (maybe via extra internal tags in
 the help text blocks).

Right; I somehow assumed the help-pages were generated (but didn't look yet).

W.r.t. 'commit --close': thx, saw that, but that would be used with
'--allow-empty' if I wanted to close after actually doing the last
commit, right? I'm guessing 'amend' will find its way into trunk at
some point.

Michai
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] close leaf from command-line, and 'apropos(1)'-like behaviour?

2015-07-21 Thread Michai Ramakers
Hello,

I was searching for a way to close a leaf from the command-line, and
didn't find it. (The new 'check-in-edit' branch can do this using
'amend --close'.)

Is there a way using legacy commands?

Also, I notice there are generally questions on this list of the form
'where is command XYZ to do PQR', just like this very post. As the set
of command-line commands and options grows, it becomes more difficult
to find how to do something; some functionality exists as a separate
command, some other exists as option to a command. (I had expected the
'branch' command to have a 'close' subcommand, for instance.)

Is it an idea to have an 'apropos(1)'-like subcommand or option to the
'help' command? For those that don't know, the 'apropos' command on
*nix does a keyword search accross all manual pages - or perhaps
help-pages, in case of fossil.

In my case, I knew I needed/wanted something that CLOSEs something, so
I would have keyword-searched for 'close'.

I'm happy with the 'amend' command btw. And I guess that as I become
more familiar with fossil's internals or philosophy, it becomes easier
to guess the command that provides a wanted behaviour.

Michai
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] close leaf from command-line, and 'apropos(1)'-like behaviour?

2015-07-21 Thread Stephan Beal
On Tue, Jul 21, 2015 at 11:27 AM, Michai Ramakers m.ramak...@gmail.com
wrote:

 W.r.t. 'commit --close': thx, saw that, but that would be used with
 '--allow-empty' if I wanted to close after actually doing the last
 commit, right?


It could be used that way, but i've personally never tried --allow-empty. i
assume everyone has been using the UI for closing branches or using merge
--integrate (which closes the merged-in branch when the merge is
committed).

I'm guessing 'amend' will find its way into trunk at
 some point.


i hope so :).

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users