[rfc] bzr-colo into core

Aaron Bentley aaron at aaronbentley.com
Thu Mar 24 22:51:35 UTC 2011


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

On 11-03-24 03:28 PM, Gordon Tyler wrote:
> It seems to me that a potential solution would be to make the repository
> aware of branches

All .bzr directories are aware of the branches they contain.

> , i.e. the repository would hold the list of pointers of
> branch names to revisions (since that's all a branch is, right?).

There is also configuration data.  There are also tags.

> With this in place, you could do the colocated thing where the working
> tree has the repo embedded inside .bzr and be able to switch the working
> tree between branches.

You can do that today already.  Even pipelines' reconfigure-pipeline
command does this.

> In both cases, the working tree is essentially a light-weight
> checkout with an additional pointer to the particular branch inside the
> repo.

I don't understand why an additional pointer would be useful in these
scenarios.  You can do this today, with a single pointer.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2LyvcACgkQ0F+nu1YWqI3+6QCfWsMSHa2KzS+LLdAhlGcede/4
/gMAn21EMtvVSVo3qGgzPUG4xr8qvEQN
=sxgx
-----END PGP SIGNATURE-----



More information about the bazaar mailing list