Re: [fossil-users] CI thinks check-in is empty
Good call, Stephan. Thanks for the input, Jacob. I'll take a look for the arguments to use. ___ 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] CI thinks check-in is empty
That is indeed the issue. There are command line flags to get Code to behave the way you want, but I don't recall them off the top of my head. Try searching for how to use Code as Git's editor, and use the same command as Fossil's editor setting. That should do it. On Tue, Oct 31, 2017 at 7:03 PM Stephan Bealwrote: > It sounds like code.exe is starting up in "the background" (for lack of a > better word) and returns control to the caller before code.exe exits. What > happens when you start code.exe from the console? If the console continues > accepting input after code.exe has started, then it's incompatible with > fossil in this reg6, as fossil expects the call to return only after the > editor has quit. > > - stephan > Sent from a mobile device, possibly from bed. Please excuse brevity, > typos, and top-posting. > > On Nov 1, 2017 00:24, "jungle Boogie" wrote: > >> Hi All, >> >> I would like this to be my editor on Windows: >> "C:\Program Files\Microsoft VS Code\Code.exe" >> >> I was able to set it up as my editor: >> >fossil set editor >> editor (local) "C:\Program Files\Microsoft VS >> Code\Code.exe" >> >> I wanted to commit a change: >> >fossil ci >> >> This opened VS Code and generated a text file in my project directory. >> I typed my message, saved and closed. Fossil had moved on long ago and >> assumed my check-in was empty and asked if I wanted to proceed: >> >> >fossil ci >> Autosync: http://localhost:8080 >> Round-trips: 1 Artifacts sent: 0 received: 0 >> Pull done, sent: 306 received: 772 ip: 127.0.0.1 >> "C:\Program Files\Microsoft VS Code\Code.exe" >> "./ci-comment-636BBE9D36FF.txt" >> >> empty check-in comment. continue (y/N)? n >> >> Fossil opened VS Code in a couple seconds and I started typing my message. >> >> Is it likely VS code is too slow for fossil before it thinks there's >> an empty check-in? >> >> What's an editor Widows folks use? I have gvim installed, so I can >> switch to that familiar editor if you folks think VS Code is just a >> bit too slow for fossil. >> >> Thanks! >> >> -- >> --- >> inum: 883510009027723 >> sip: jungleboo...@sip2sip.info >> ___ >> 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 mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] CI thinks check-in is empty
It sounds like code.exe is starting up in "the background" (for lack of a better word) and returns control to the caller before code.exe exits. What happens when you start code.exe from the console? If the console continues accepting input after code.exe has started, then it's incompatible with fossil in this reg6, as fossil expects the call to return only after the editor has quit. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity, typos, and top-posting. On Nov 1, 2017 00:24, "jungle Boogie"wrote: > Hi All, > > I would like this to be my editor on Windows: > "C:\Program Files\Microsoft VS Code\Code.exe" > > I was able to set it up as my editor: > >fossil set editor > editor (local) "C:\Program Files\Microsoft VS Code\Code.exe" > > I wanted to commit a change: > >fossil ci > > This opened VS Code and generated a text file in my project directory. > I typed my message, saved and closed. Fossil had moved on long ago and > assumed my check-in was empty and asked if I wanted to proceed: > > >fossil ci > Autosync: http://localhost:8080 > Round-trips: 1 Artifacts sent: 0 received: 0 > Pull done, sent: 306 received: 772 ip: 127.0.0.1 > "C:\Program Files\Microsoft VS Code\Code.exe" "./ci-comment-636BBE9D36FF. > txt" > > empty check-in comment. continue (y/N)? n > > Fossil opened VS Code in a couple seconds and I started typing my message. > > Is it likely VS code is too slow for fossil before it thinks there's > an empty check-in? > > What's an editor Widows folks use? I have gvim installed, so I can > switch to that familiar editor if you folks think VS Code is just a > bit too slow for fossil. > > Thanks! > > -- > --- > inum: 883510009027723 > sip: jungleboo...@sip2sip.info > ___ > 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] CI thinks check-in is empty
Hi All, I would like this to be my editor on Windows: "C:\Program Files\Microsoft VS Code\Code.exe" I was able to set it up as my editor: >fossil set editor editor (local) "C:\Program Files\Microsoft VS Code\Code.exe" I wanted to commit a change: >fossil ci This opened VS Code and generated a text file in my project directory. I typed my message, saved and closed. Fossil had moved on long ago and assumed my check-in was empty and asked if I wanted to proceed: >fossil ci Autosync: http://localhost:8080 Round-trips: 1 Artifacts sent: 0 received: 0 Pull done, sent: 306 received: 772 ip: 127.0.0.1 "C:\Program Files\Microsoft VS Code\Code.exe" "./ci-comment-636BBE9D36FF.txt" empty check-in comment. continue (y/N)? n Fossil opened VS Code in a couple seconds and I started typing my message. Is it likely VS code is too slow for fossil before it thinks there's an empty check-in? What's an editor Widows folks use? I have gvim installed, so I can switch to that familiar editor if you folks think VS Code is just a bit too slow for fossil. Thanks! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users