On 6/18/16, Paul Hammant wrote:
>
> Learning curve for Fossil - about an hour. Curiosities:
>
>- Having a database name rather than just a .git or .svn folder
>convention
>- The 'open' step.
These result from the fact that a single Fossil repository can have
multiple simultaneously open check-outs. To do the same in something
like Git, you have to have multiple clones.
In SQLite development, we *very* often have multiple branches and/or
historical versions of SQLite open and under development
simultaneously, and so having the ability to host these multiple
check-outs from a single repository is important.
>
> Pleasant surprises:
>
>- when making a branch, having a 'where from' basis (which I hope is
>retained)
>
> Questions:
>
>1. How do I choose a non 'trunk' name for the initial branch? My test
>needed a branch called 'one' and another 'two'.
You can change the branch to which any check-in belongs
after-the-fact. Simple bring up the ui ("fossil ui") and click on the
link for the check-in, then on the "Edit" link. Then use the "Make
this check-in the start of a new branch named: __" option. This
can also be done from the command-line, though I cannot tell you how
off the top of my head - I'd have to go look
>2. Is it possible to do the --record-only merge thing subversion does
>(Git calls it ‘strategy-ours’, and in Perforce it is ‘accept yours’) ?
I'm not familiar with that feature. What does it do? Does it pretend
that one branch has been merged with other without actually changing
any of the code? I don't recall ever having had a need for such a
thing? Can you suggest a scenario where it might be useful?
>3. Where does Fossil top out? Nvidia, Pixar and Google pushed Perforce
>to multi-terrabytes of HEAD revision, metadate and history. With
>submodules, git doesn't like to be able 1GB (size of clone), though some
>field reports suggest 7GB works too.
>
SQLite database files top out at around 140 Terabytes. There are,
however, some operations that use time proportional to the size of the
database. "clone" and "rebuild" come quickly to mind.
Performance problems come about more due to the number of files in a
single check-out. Most projects have a few thousand source files, for
which Fossil works great. When the number of files in a single
revision gets into the hundreds of thousands, then some operations can
become sluggish. This could perhaps be fixed, except I do not have
any such projects and so have not taken the time to work on it.
--
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