On Sun, Feb 8, 2015 at 1:00 AM, jungle Boogie <jungleboog...@gmail.com>
wrote:

> Hi Baruch,
> On 7 February 2015 at 13:29, Baruch Burstein <bmburst...@gmail.com> wrote:
> > Run `fossil help import` for details.
> > Basically:
> > % fossil import svn /path/to/repo /path/to/dump
>
> % fossil help import
> Usage: fossil import FORMAT ?OPTIONS? NEW-REPOSITORY ?INPUT-FILE?
>
> So I'm doing 'fossil import svn mgsrepo.fossil ~/bin/repo/repo.dump'
>
> % fossil version
> This is fossil version 1.31 [1be2eb0535] 2015-02-06 15:38:51 UTC
>
> % fossil all ls
> ~/fossilbuild/trunk
> ~/fossil-repos/fossil.fossil
> ~/fossil-repos/sqlite.fossil
> ~/naes/fossilbuild/trunk
>
> % fossil import svn mgsrepo.fossil ~/bin/repo/repo.dump
> Importing SVN revision: 467 <--I don't think this is correct as its a
> 3.8GB dump file
> Copy from path outside the import paths <---What's this mean? Is it
> expected?
>

Moving this to the mailing list.

In order to not choke on large imports (unless absolutely needed), only
changes to the trunk, branches and tags directories are tracked. Any change
to another directory in the SVN tree is discarded as "not interesting",
since it will not get imported into the final repo. However, this also
means that if at a later point the dump file tries to move/copy such a file
into one of the above three directories, we don't have the source to make
the copy from. This was done to minimize the amount of "temporary" data
that is used and later discarded by the import process, since keeping it
can potentially amount to a huge amount of unneeded data. However,in some
cases it is needed, such as this one. I don't know the correct solution
here.


> % fossil all ls
> ~/fossilbuild/trunk
> ~fossil-repos/fossil.fossil
> ~/fossil-repos/sqlite.fossil
> ~/fossilbuild/trunk
>
> Where's the mgsrepo.fossil?
>
> Git import makes it look like it will create the directory and make is
> available:
>
> https://www.fossil-scm.org/index.html/doc/a00a140bff46373e3685/www/inout.wiki
>
>
> I can post to the mailing list if you'd like to have more eyes looking at
> it.
>


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to