[MERGE] Support reconfiguring a repository
Aaron Bentley
aaron.bentley at utoronto.ca
Mon Dec 17 05:07:29 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Clatworthy wrote:
> Some comments/questions:
>
> 1. Are there plans for a --repo (or --shared-repo) to convert a
> branch (say) into a shared repository?
No, I wasn't planning on that. It's a pretty destructive operation, and
I figure it's very rare. Do you think it's desirable?
I *was* planning on adding the ability to make a repository branch/tree
into a standalone branch/tree. And I was planning to allow manipulating
the no-trees repository flag.
> 2. As part of the recent implementation of switch for normal
> checkouts, I put in a check for local commits which hadn't
> been pushed to the (potentially previously) bound branch.
> Should _check() do something similar when reconfiguring
> from a normal to a lightweight checkout say?
I could go either way. Most of the time, you can just "reconfigure
- --checkout" to fix it, because your working-tree last_revision should
match your branch last_revision. But if it doesn't, then getting the
commits back would be harder.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHZgQR0F+nu1YWqI0RApaqAJ4nRjF2YH3II9hk35PS2q5O4+pOzACeK2HD
KvPVQ8vXXXLK/WYztLDwI+M=
=n0im
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list