Re: [fossil-users] Bug report: fossil settings/unset no longer supports "-R"

2016-11-22 Thread Andy Bradford
Thus said Roy Keene on Tue, 22 Nov 2016 14:45:22 -0600:

> In previous versions of Fossil one could do "fossil unset -R  
> ssh-command", however Fossil 1.36 added a call to verify_all_options() 
> in src/db.c:settings_cmd ( 
> http://fossil-scm.org/index.html/info/816bc43b8064bf4d ).
> 
> This function  notices the "-R"  option is present and  not previously
> removed and causes an error to be printed.

I noticed this as well last week but didn't realize it was a regression,
thinking instead  that it was  just missing functionality.  Basically, I
wanted to set a local setting in an unopened repository:

$ cd /tmp
$ fossil new new.fossil
project-id: 13375765e947c6124c5c16c51881017a03ec9d53
server-id:  9ae77e171c6925e3c6ee9e3a0d2479c0568688ab
admin-user: amb (initial password is "fe1fb8")
$ fossil set -R new.fossil http-port
unrecognized command-line option, or missing argument: -R
$ fossil version
This is fossil version 1.37 [467c4269b0] 2016-11-18 08:22:36 UTC

According to ``fossil bisect'' it stopped working with 
[816bc43b8064bf4d]:

http://www.fossil-scm.org/index.html/timeline?c=816bc43b8064bf4d

Andy
-- 
TAI64 timestamp: 40005834bbc6


___
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] Bug report: fossil settings/unset no longer supports"-R"

2016-11-22 Thread Joe Mistachkin

Roy Keene wrote;
>
>   [rkeene@kps-rsk-laptop pipethread]$ fossil all unset ssh-command
>   fossil unset -R /home/rkeene/.repos/home.fossil ssh-command
>   unrecognized command-line option, or missing argument: -R
>   [rkeene@kps-rsk-laptop pipethread]$
> 

I see the logic in what you are saying; however, so far, I'm unable to
reproduce the error message on Windows or Unix when using set/unset with
the -R option.

What build configuration/options are you using for Fossil?

--
Joe Mistachkin @ https://urn.to/r/mistachkin

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


[fossil-users] Bug report: fossil settings/unset no longer supports "-R"

2016-11-22 Thread Roy Keene

To whom it may concern,

I would like to report a bug introduced in Fossil 1.36.

In previous versions of Fossil one could do "fossil unset -R  
ssh-command", however Fossil 1.36 added a call to verify_all_options() 
in src/db.c:settings_cmd ( 
http://fossil-scm.org/index.html/info/816bc43b8064bf4d ).


This function notices the "-R" option is present and not previously 
removed and causes an error to be printed.


The "fossil all unset" and "fossil all setting" command use this 
functionality and are now subsequently broken (a regression):


[rkeene@kps-rsk-laptop pipethread]$ fossil all unset ssh-command
fossil unset -R /home/rkeene/.repos/home.fossil ssh-command
unrecognized command-line option, or missing argument: -R
[rkeene@kps-rsk-laptop pipethread]$

Thanks,
Roy Keene
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users