Re: [fossil-users] Shorter alias for FOSSIL AMEND --EDIT-COMMENT request
Seems OK to me. -Original Message- From: Ross Berteig Sent: Friday, February 26, 2016 4:57 AM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Shorter alias for FOSSIL AMEND --EDIT-COMMENT request On 2/25/2016 4:58 PM, to...@acm.org wrote: Would it be possible to add a short version for the –-EDIT-COMMENT option of the AMEND command (just like there is for –-comment)? Something like –e perhaps? A quick check of the handy /test-all-help page for references to -e shows that no command uses it now, so it doesn't have any overloaded meanings to confuse things. The checkin command has no option at all to cause the comment to be edited (that is what happens if -m or -M are not used). If it did, I suppose that --edit-comment would be its likely name, and -e its likely short name. So it looks like that was a six character edit to the amend command. Try checkin [769bc7b4] as see if it does what you expected. -- Ross Berteig r...@cheshireeng.com Cheshire Engineering Corp. http://www.CheshireEng.com/ +1 626 303 1602 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ 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] Shorter alias for FOSSIL AMEND --EDIT-COMMENT request
Here I go again reminding people that if you just want short versions of commands, aliases for common command operations with specific switches, etc. that http://fossil.0branch.com/fsl/home has a solution for this already that's been available for years now. On 26 February 2016 at 10:57, Ross Berteigwrote: > On 2/25/2016 4:58 PM, to...@acm.org wrote: > >> Would it be possible to add a short version for the –-EDIT-COMMENT >> option of the AMEND command (just like there is for –-comment)? >> Something like –e perhaps? >> > > A quick check of the handy /test-all-help page for references to -e shows > that no command uses it now, so it doesn't have any overloaded meanings to > confuse things. The checkin command has no option at all to cause the > comment to be edited (that is what happens if -m or -M are not used). If it > did, I suppose that --edit-comment would be its likely name, and -e its > likely short name. > > So it looks like that was a six character edit to the amend command. Try > checkin [769bc7b4] as see if it does what you expected. > > -- > Ross Berteig r...@cheshireeng.com > Cheshire Engineering Corp. http://www.CheshireEng.com/ > +1 626 303 1602 > ___ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- "Perhaps people don't believe this, but throughout all of the discussions of entering China our focus has really been what's best for the Chinese people. It's not been about our revenue or profit or whatnot." --Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra. ___ 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] Shorter alias for FOSSIL AMEND --EDIT-COMMENT request
On 2/25/2016 4:58 PM, to...@acm.org wrote: Would it be possible to add a short version for the –-EDIT-COMMENT option of the AMEND command (just like there is for –-comment)? Something like –e perhaps? A quick check of the handy /test-all-help page for references to -e shows that no command uses it now, so it doesn't have any overloaded meanings to confuse things. The checkin command has no option at all to cause the comment to be edited (that is what happens if -m or -M are not used). If it did, I suppose that --edit-comment would be its likely name, and -e its likely short name. So it looks like that was a six character edit to the amend command. Try checkin [769bc7b4] as see if it does what you expected. -- Ross Berteig r...@cheshireeng.com Cheshire Engineering Corp. http://www.CheshireEng.com/ +1 626 303 1602 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Shorter alias for FOSSIL AMEND --EDIT-COMMENT request
Would it be possible to add a short version for the –-EDIT-COMMENT option of the AMEND command (just like there is for –-comment)? Something like –e perhaps? --EDIT-COMMENT is the one option I use most often when using the AMEND command to fix check-in comment typos, and this option is a bit too long to type all the time. Thanks.___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users