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


Re: [fossil-users] private branches

2016-11-22 Thread Martin Gagnon
Hi Scott,

On Mon, Nov 21, 2016 at 08:47:22PM -0800, Scott Doctor wrote:
> Reading through the fossil documentation about private branches. It
> states that There is no way to convert a private branch into a
> public branch. But all of the changes associated with the private
> branch are folded into the public branch and are hence visible to
> other users of the project.

Private branch use to be very limited in functionality. If I remember
well, it was possible to convert all the private branches at once, but
not a single branch.

But since the addition of the "bundle" functionality, it's now possible
to convert a private branch into a public branch easily using the
"publish" command.

see http://fossil-scm.org/index.html/help?cmd=publish

   [snip]


Regards

-- 
Martin G.
___
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] private branches

2016-11-22 Thread Andy Bradford
Thus said Scott Doctor on Mon, 21 Nov 2016 20:47:22 -0800:

> But all of  the changes associated with the private  branch are folded
> into the  public branch and  are hence visible  to other users  of the
> project.

Precisely, only the  changes are visible (e.g. the diff  between the two
merge parents),  but the branch, and  all the changes leading  up to the
merge will still be private. So if you add a line, then remove the line,
when  you merge  there will  be  no public  record of  having added  and
removed a line.

Andy
-- 
TAI64 timestamp: 40005834836a


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