[fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
Hi, I've been doing some code maintenance (lots of deletes, renames, adds) and now cannot do commit. Every commit attempt causes: fossil.exe: manifest file (1816) is malformed. What does this mean? Is there any chance to fix the repo? My fossil version is 1.22. Jacek

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:33 AM, Jacek Cała jacek.c...@gmail.com wrote: fossil.exe: manifest file (1816) is malformed. What does this mean? Is there any chance to fix the repo? My fossil version is 1.22. That's a new one. :/ Can you please try: fossil test-agg-cksum just to make sure

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com wrote: Hi, I've been doing some code maintenance (lots of deletes, renames, adds) and now cannot do commit. Every commit attempt causes: fossil.exe: manifest file (1816) is malformed. What does this mean? Is there any

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
d:\...\MainSolutionfossil test-agg-cksum disk: 9b15edd8f59e6d06f24779627eb5d751 archive: ef042e223a29de7097b5bac505295812 manifest: 064345fe886bffeb23131fcc0ac5a5d5 recorded: 064345fe886bffeb23131fcc0ac5a5d5 Hardly readable for me :-) but no errors. Cheers, Jacek 2012/6/29 Stephan Beal

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
2012/6/29 Richard Hipp d...@sqlite.org: It means there is a bug in Fossil.  ... Note that the changes to the repository happen inside a transaction.  ... ... This is one of the big advantages of using a transactional database engine as the repository, rather than a pile-of-files as in other

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:33 AM, Jacek Cała jacek.c...@gmail.com wrote: Hi, I've been doing some code maintenance (lots of deletes, renames, adds) and now cannot do commit. Every commit attempt causes: fossil.exe: manifest file (1816) is malformed. What does this mean? Is there any

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
Thank you for the prompt action. Please keep me/the list informed about the patch. Maybe it is also worth considering the case when a file has just been added to the repo (no commit) and then mv is issued from a MISSING to the ADDED file. I wrote about it a couple of days ago:

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 8:36 AM, Jacek Cała jacek.c...@gmail.com wrote: Thank you for the prompt action. Please keep me/the list informed about the patch. Please try the latest trunk versionhttp://www.fossil-scm.org/fossil/info/01e4de6b8aof Fossil. I believe it has fixed your issue and

Re: [fossil-users] cannot commit 'manifest file (1816) is malformed'

2012-06-29 Thread Jacek Cała
Yes, the commit went fine. Thank you again! Jacek 2012/6/29 Richard Hipp d...@sqlite.org: On Fri, Jun 29, 2012 at 8:36 AM, Jacek Cała jacek.c...@gmail.com wrote: Thank you for the prompt action. Please keep me/the list informed about the patch. Please try the latest trunk version of

[fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread John Nowak
Hopefully some Fossil developer finds this useful: http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/ Mostly dead stores, but it seems that the return values of 'setgid' and 'setuid' are not checked at src/main.c:1137. All of the problems seem easily correctable. - jn

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 10:49 PM, John Nowak j...@johnnowak.com wrote: Hopefully some Fossil developer finds this useful: http://heap.johnnowak.com/**2012/06/29/scan-build-2012-06-**29-1/http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/ Mostly dead stores, but it seems that the

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:12 PM, Stephan Beal sgb...@googlemail.comwrote: Thanks. i've patched this locally, but before i commit it: can someone confirm that errno.h is available on Windows? Sorry, dumb question: that code is in a !-def win32 block. @Richard: umm

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Andreas Kupries
On 6/29/2012 1:49 PM, John Nowak wrote: Hopefully some Fossil developer finds this useful: http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/ How complicated is the generation of such a report ? (Are scripts for this available ?) -- Andreas Kupries Senior Tcl Developer Code to

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 5:29 PM, Andreas Kupries andre...@activestate.comwrote: On 6/29/2012 1:49 PM, John Nowak wrote: Hopefully some Fossil developer finds this useful:

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:19 PM, Stephan Beal sgb...@googlemail.comwrote: [stephan@host:~/cvs/fossil/fossil]$ f com -m 'Added check of rc for setgid/setuid() calls.' src/main.c Autosync: http://step...@fossil-scm.org Here you go, John: http://www.fossil-scm.org/index.html/info/4d107b597a

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Stephan Beal
On Fri, Jun 29, 2012 at 11:32 PM, Stephan Beal sgb...@googlemail.comwrote: Here you go, John: http://www.fossil-scm.org/index.html/info/4d107b597a OH, the irony!!! Don't use this yet - today's manifest change broke the trunk and i had to back-rev a day to be able to commit that. Richard is

[fossil-users] enhancement request

2012-06-29 Thread Justin Gedge
The timeline in the fossil ui [web page] is already very useful. It would be really slick if it could draw dotted lines/dashed arrows to show cherry picking of deltas from various branches. -jmg ___ fossil-users mailing list

Re: [fossil-users] Build error in VS 2008 with JSON enabled

2012-06-29 Thread Stephan Beal
Hiho, Could i convince one of the Windows users to try out this patch for the Windows Makefile? On Fri, Jun 22, 2012 at 3:01 PM, Stephan Beal sgb...@googlemail.com wrote: Hi again, Alexander! i have added your change to the build scripts, but i cannot personally test it, which means that my

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread John Nowak
On 06/29/2012 05:29 PM, Andreas Kupries wrote: On 6/29/2012 1:49 PM, John Nowak wrote: Hopefully some Fossil developer finds this useful: http://heap.johnnowak.com/2012/06/29/scan-build-2012-06-29-1/ How complicated is the generation of such a report ? (Are scripts for this available ?)

Re: [fossil-users] clang-analyzer results (unchecked setgid/setuid returns)

2012-06-29 Thread Andreas Kupries
On 6/29/2012 3:01 PM, John Nowak wrote: I did only the following: scan-build ./configure scan-build make The reports will be dumped in /tmp by default. You do need to remember to run it for 'configure' otherwise you'll end up with no results for 'make'. You'll also want to do a 'make

[fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
Hello I'd like to add files that have a given extension, eg. C:\fossil add C:\Projects\*.xyz Apparently, Fossil will add all the files in a given directory, unless we add the --ignore switch. Is there really no way to simply specify the extension we want to include? Thank you.

Re: [fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Stephan Beal
On Sat, Jun 30, 2012 at 1:18 AM, Gilles gilles.gana...@free.fr wrote: C:\fossil add C:\Projects\*.xyz Apparently, Fossil will add all the files in a given directory, unless we add the --ignore switch. Is there really no way to simply specify the extension we want to include? i don't

Re: [fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
On Sat, 30 Jun 2012 01:19:38 +0200, Stephan Beal sgb...@googlemail.com wrote: fossil add foo.* works just fine. Can you try without the quotes, just for kicks? Thanks, it does work on Windows too. Based on the online infos, I was under the (wrong) impression that Fossil would add all the files

Re: [fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Richard Hipp
On Fri, Jun 29, 2012 at 7:19 PM, Stephan Beal sgb...@googlemail.com wrote: On Sat, Jun 30, 2012 at 1:18 AM, Gilles gilles.gana...@free.fr wrote: C:\fossil add C:\Projects\*.xyz Apparently, Fossil will add all the files in a given directory, unless we add the --ignore switch. Is there

Re: [fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Stephan Beal
On Sat, Jun 30, 2012 at 1:33 AM, Richard Hipp d...@sqlite.org wrote: Maybe there is another shell available for windows (other than CMD.EXE) that will do wildcarding. Anybody know? It looks like his shell does, but there might be minor annoyances with spaces (which must be escaped with \

Re: [fossil-users] [1.22/newbie] Add files with specific extension?

2012-06-29 Thread Gilles
On Sat, 30 Jun 2012 01:48:29 +0200, Stephan Beal sgb...@googlemail.com wrote: It looks like his shell does, but there might be minor annoyances with spaces (which must be escaped with \ instead of quotes, i surmise). Right. I'll make it a habit to always quote the full path when adding files to