Re: [fossil-users] Fossil.exe: Catching errors?
I wrote a simple GUI for Fossil using .NET for myself. After reviewing the source code for the commands I used, I concluded that all errors were written to stderr. By redirecting and displaying stdout / stderr I was able to provide feedback as to the success or failure of a command. Also, fossil.exe exits with zero if all is well, otherwise non-zero: fossil_exit(0); or fossil_exit(1); Tony Perovic Compumation, Inc. -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Gilles Sent: Friday, June 07, 2013 6:00 AM To: fossil-users@lists.fossil-scm.org Subject: [fossil-users] Fossil.exe: Catching errors? Hello I'd like to write a GUI front-end for fossil.exe to avoid having to open a DOS box and type Fossil commands. Does someone know of a way to catch errors, if any, instead of parsing the output returned by the application to figure it out? Thank you. ___ 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] [vb.net] Which files/folders can be safely ignored?
I also ignore the obj folder. All those files get rebuilt anyway. You might want to keep the suo file: What is an suo file?http://www.eggheadcafe.com/sample-code/VisualStudio.NET/93b4e727-efe7-43dd-8aae-688a9e56ec4e/what-is-an-suo-file.aspx Tony Perovic Compumation, Inc. From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Tomek Kott Sent: Monday, October 03, 2011 9:56 AM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] [vb.net] Which files/folders can be safely ignored? for C++ projects based in VS2008/10, I have the following ignore glob, which seems to work pretty well: *.vcxproj.user,*Debug/*,*.suo Probably you can replace vcx with vb. Of course, YMMV. I ignore the debug folders since these are used when building, and I assume I can just build things again to get back the exe from the source. Hope that helps, Tomek On Mon, Oct 3, 2011 at 9:59 AM, Gilles gilles.gana...@free.frmailto:gilles.gana...@free.fr wrote: Hello I'd like to start using Fossil to monitor Vb.Net (2008 Express) projects, and need to know which files/folders I can safely ignore when using the add command. FWIW, here's a one form + one module project: Directory of C:\Projects\MyApp\WindowsApplication1 03/10/2011 15:04 3.040 Form1.Designer.vb 03/10/2011 15:04 5.814 Form1.resx 03/10/2011 15:08 2.903 Form1.vb 03/10/2011 13:40 194 Module1.vb 03/10/2011 13:36DIR bin 03/10/2011 13:36DIR My Project 03/10/2011 13:36DIR obj 03/10/2011 13:36 934 WindowsApplication1.sln 03/10/2011 13:36 5.678 WindowsApplication1.vbproj 03/10/2011 13:3674 WindowsApplication1.vbproj.user Directory of C:\Projects\MyApp\WindowsApplication1\bin\Debug 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 15:0814.328 WindowsApplication1.vshost.exe 03/10/2011 15:08 127 WindowsApplication1.xml Directory of C:\Projects\MyApp\WindowsApplication1\bin\Release 0 File(s) 0 bytes Directory of C:\Projects\MyApp\WindowsApplication1\My Project 03/10/2011 02:51 1.522 Application.Designer.vb 03/10/2011 02:51 510 Application.myapp 03/10/2011 02:51 1.199 AssemblyInfo.vb 03/10/2011 02:51 2.807 Resources.Designer.vb 30/07/2008 06:54 5.612 Resources.resx 03/10/2011 02:51 3.058 Settings.Designer.vb 30/07/2008 06:54 279 Settings.settings 7 File(s) 14.987 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug 03/10/2011 10:56 6.069 ResolveAssemblyReference.cache 03/10/2011 13:36DIR TempPE 03/10/2011 15:0827.648 WindowsApplication1.exe 03/10/2011 15:04 180 WindowsApplication1.Form1.resources 03/10/2011 14:30 180 WindowsApplication1.Form2.resources 03/10/2011 15:0858.880 WindowsApplication1.pdb 03/10/2011 13:40 180 WindowsApplication1.Resources.resources 03/10/2011 15:08 2.764 WindowsApplication1.vbproj.FileListAbsolute.txt 03/10/2011 15:04 905 WindowsApplication1.vbproj.GenerateResource.Cache 03/10/2011 15:08 127 WindowsApplication1.xml 9 File(s) 96.933 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Debug\TempPE 03/10/2011 13:02 7.680 My Project.Resources.Designer.vb.dll 1 File(s) 7.680 bytes Directory of C:\Projects\MyApp\WindowsApplication1\obj\Release 0 File(s) 0 bytes Thank you. ___ fossil-users mailing list fossil-users@lists.fossil-scm.orgmailto: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] Unable to sign manifest
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.commailto:tpero...@compumation.com tpero...@compumation.commailto: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] Why do people create branches as a separate step? Was: Unable to sign manifest
So, how do you move commits in the trunk to a new branch after the fact. Thanks, Tony Perovic -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Joshua Paine Sent: Tuesday, August 09, 2011 10:10 AM To: fossil-users@lists.fossil-scm.org Subject: Re: [fossil-users] Why do people create branches as a separate step? Was: Unable to sign manifest On 8/9/2011 10:58 AM, Richard Hipp wrote: Change the subject: Please help me to understand why people want to create a new branch before adding changes to that branch, rather than just waiting until they check-in their edits? In SVN (and possibly others), you have to create the branch first. In Git I still try to make the branch first, because I don't know how to move a commit to a new branch if I forget to add the new branch argument when I commit. The GUI tools I've used for SVN and Git didn't make it easy to put a commit on a new branch. In fossil I often just work and worry about branches later, sometimes several commits later, because I know it's really easy to change it. In those cases, I've usually started working on something and realized part way in that I had better branch for this--a totally stress-free realization with fossil. But sometimes I still make the branch first, because sometimes my thought process begins with Now I'm going to start on New Feature X, and since I've just decided that, I may as well make some manifestation of my intention. I like that both ways are supported, along with the ability to make new branches after the fact. -- Joshua Paine LetterBlock: Web Applications Built With Joy http://letterblock.com/ 301-576-1920 ___ 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
[fossil-users] Unable to sign manifest
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