On Sat, Sep 18, 2010 at 3:30 PM, Stefan Boberg <bionicbea...@gmail.com>wrote:

>   Hi,
>
>   I'm evaluating Fossil for personal use. To get a feel for how it scales I
> decided to try adding our engine tree to it and simulate some typical
> scenarios. This tree is reasonably large (62,738 Files, 9,293
> Folders, 13,382,939,724 bytes), and contains a mix of c/c++ source code as
> well as binaries (libs, executables and various other resources).
>
>    Unfortunately, I don't get very far. Immediately after the new -> open
> -> add -> commit sequence I get a "fossil.exe: not a valid repository:
> F:/Blizzard.fossil" error whatever I try. I tried twice with the same
> result.
>
>    Fossil version: "This is fossil version [8474ca6747] 2010-08-23 22:24:16
> UTC"
>
>    Any idea what the problem might be? Unfortunately I cannot supply the
> tree for testing as it's proprietary code.
>

Further information for you:  The "not a valid repository" error only arises
when Fossil tries to measure the size of the repository file and sees that
either the file does not exist or else that the size of the file is less
than 1024 bytes.  It does this by calling stat() on the file and looking at
the stat.st_size field.  I use mingw configured as a cross-compiler and
running on linux to build the binaries you find on the website.  My guess
is, then, that the stat() function in mingw is perhaps unable to deal with
13 GB files....

Can you (or someone else) perhaps rebuild Fossil from sources using a native
windows compiler and see if that helps?

If you can't do that, let me know and I'll send you a bootleg binary that
contains a

     fossil test-file-size FILENAME

command that we can use to confirm or disprove my theory about stat() and
mingw....




>
> Regards,
> Stefan
>
>
> _______________________________________________
> 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

Reply via email to