Re: [fossil-users] Unable to sign manifest

2011-08-09 Thread tpero...@compumation.com
It appears that clearsign wasn't set (blank).

fossil set clearsign

clearsign

The default is OFF, right? Just to be sure:

fossil set clearsign 0
fossil set clearsign
clearsign   (local) 0

Still getting:

fossil branch new Test 5947928ba

'gpg' is not recognized as an internal or external command, operable program or 
batch file.
unable to sign manifest. continue (Y/N)?

Downloaded and installed gpg4win. Now I get:

fossil branch new Test 5947928ba

gpg: no default secret ket: No secret key
gpg: out-63CA97DF55704B6DE39: clearsign failed: No secret key
unable to sign manifest. continue (n/N)?

Removed gpg4win then tried again:

'gpg' is not recognized as an internal or external command, operable program or 
batch file.
unable to sign manifest. continue (Y/N)?

Clearly, fossil is still trying to sign the manifest.

If I continue by entering Y then the branch gets created in all cases. However, 
this is messing me up because I'm trying to automate this.

Searching the source code for "unable to sign manifest" I found this in 
branch.c:

void branch_new(void)
...
noSign = find_option("nosign","",0)!=0;
...

Tried the undocumented --nosign option:

fossil branch new Test 5947928ba --nosign
New branch: 121b842396960a83e2064216678b34cc7a5460d3

So, I'm good for now but please add the --nosign option to fossil help branch 
for the next guy.

Thanks again.
Tony Perovic

From: fossil-users-boun...@lists.fossil-scm.org 
[mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Stephan Beal
Sent: Monday, August 08, 2011 4:58 PM
To: fossil-users@lists.fossil-scm.org
Subject: Re: [fossil-users] Unable to sign manifest

On Mon, Aug 8, 2011 at 11:43 PM, 
tpero...@compumation.com<mailto:tpero...@compumation.com> 
mailto:tpero...@compumation.com>> wrote:
fossil unset pgp-command

fossil branch new Test 5947928ba

'in-B1C64C8EF29A42586A91' is not recognized as an internal or external command,

That's weird, but you can try:

fossil set clearsign 0

as a workaround for the time being.

--
- stephan beal
http://wanderinghorse.net/home/stephan/
___
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] Unable to sign manifest

2011-08-08 Thread Richard Hipp
On Mon, Aug 8, 2011 at 5:43 PM, tpero...@compumation.com <
tpero...@compumation.com> wrote:

> fossil branch new Test 5947928ba
>
> ** **
>
> 'gpg' is not recognized as an internal or external command, operable
> program or batch file.
>
> unable to sign manifest. continue (Y/N)? n
>
> ** **
>
> fossil unset pgp-command
>
> ** **
>
> fossil branch new Test 5947928ba
>
> ** **
>
> 'in-B1C64C8EF29A42586A91' is not recognized as an internal or external
> command,
>
> operable program or batch file.
>
> unable to sign manifest.  continue (y/N)? n
>
> ** **
>
> Why?
>

Probably because when you unset pgp-command it still trys to call system()
to do the pgp signing, but leaves off the name of the command since that is
now unset.

Try:  fossil set clearsign off




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


-- 
D. Richard Hipp
d...@sqlite.org
___
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] Unable to sign manifest

2011-08-08 Thread Stephan Beal
On Mon, Aug 8, 2011 at 11:43 PM, tpero...@compumation.com <
tpero...@compumation.com> wrote:

> fossil unset pgp-command
>
> ** **
>
> fossil branch new Test 5947928ba
>
> ** **
>
> 'in-B1C64C8EF29A42586A91' is not recognized as an internal or external
> command,
>

That's weird, but you can try:

fossil set clearsign 0

as a workaround for the time being.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Unable to sign manifest

2011-08-08 Thread tpero...@compumation.com
fossil branch new Test 5947928ba

'gpg' is not recognized as an internal or external command, operable program or 
batch file.
unable to sign manifest. continue (Y/N)? n

fossil unset pgp-command

fossil branch new Test 5947928ba

'in-B1C64C8EF29A42586A91' is not recognized as an internal or external command,
operable program or batch file.
unable to sign manifest.  continue (y/N)? n

Why?

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