thoughts on repository/storage/branch/checkout
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Feb 2 20:49:48 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Denys Duchier wrote:
> Thanks a lot for that message, it really helped clarify for me your envisioned
> design. That's exactly the descriptive level that I was looking for. I am
> especially glad that you mentioned the replacement of checkouts by working
> trees. I had missed that one.
Actually, in those messages, I had somehow convinced myself that
"Working Tree" was not a separate concept.
> inheritance can be made a bit more robust by adding some sort of uuid to a repo
> at creation time and checking that a repo with the expected uuid is found during
> inheritance.
That might do. It still means having two options (specified location vs
inherited). It also means at creation time we'd have to set the uuid to
the intended repo, even if it wasn't the direct parent. I don't know
whether that would cause a failure or cause the direct parent to be ignored.
> ok, I only called it STORE because I wanted the non branch-aware version of the
> concept.
Sure.
> ah, ok. so there is at most one working tree per branch. the checkout idea
> seemed a little strange to me in that respect.
The use case for multiple checkouts is CVS-style lockstep development.
(This is also suppored by bound branches.) Many projects want to have a
'mainline' branch to which multiple developers can commit. They will
only be able to commit if their checkout is up-to-date with the branch,
though.
>> - contains metadata associated with files in the wd
>> - has pending-merges metadata
>
>
> Thanks again!
Sorry I got a bit hot, earlier. I'm glad it was eventually useful.
The original formulation of these notions was here:
https://lists.ubuntu.com/archives/bazaar-ng/2005q4/005025.html
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD4nBs0F+nu1YWqI0RAtj+AJ4jdotJ8pA6flJrNiBAGzcadefhhwCeJB6U
Kj5aGOKj5Ek26w8JAHsV8+0=
=2KVi
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list