-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/02/2010 09:12 PM, Richard Hipp wrote:
> 
>> I'm not exactly clear on what you read, but I think what was being
>> communicated is that if you have a single project repository, you can
>> checkout multiple trees that one repository into different directories of
>> your local disk.  So if your repository is named ~/myrepo.fossil, you might
>> have three different checkouts at ~/myproj/dev, ~/myproj/testing, and
>> ~/myproj/release.  All three checkouts can be of different versions of the
>> project.  Each can update and commit independently of the others.  But all
>> three use the same repository files myproj.fossil.
> 

Here's what I read:

Each source tree that is controlled by fossil is associated with a
single repository on the local disk drive. You can tie two or more
source trees to a single repository if you want (though one tree per
repository is the most common configuration.) So a single repository can
be associated with many source trees, but each source tree is associated
with only one repository.

So I thought that might have meant multiple, distinct trees, similar to
how one can have branches in Git with independent directory structures
but all separate from each other, even if they are stored in the same
repository.

I'm wondering how difficult/desirable it might be to support a case like
the one I mentioned? Maybe you could have a single repository with
multiple roots, and do something like:

mkdir project_a; cd project_a; fossil open ../myproj.fossil project_a
cd ..; mkdir project_b;...

Or maybe some means of opening a project's subdirectory such that open
with normal parameters would copy out all subdirectories/projects while
"open myproj.fossil src" might only extract the src directory, but that
may be entirely impractical.

Thanks for the quick and detailed response. :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyAYQEACgkQIaMjFWMehWKqSACeKKuQ6AfqFT1yYwCURaq5wHIg
3SwAnRZ37vOsS87KMmKmRj2y1NWnrlkg
=CBuX
-----END PGP SIGNATURE-----

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to