[RFC] prohibit push to lightweight checkout
Jelmer Vernooij
jelmer at samba.org
Fri Apr 30 20:33:09 BST 2010
On Fri, 2010-04-30 at 18:57 +0300, Alexander Belchenko wrote:
> As I'm using colo plugin more and more, I'm getting more and more
> lightweight checkouts on different machines. Unfortunately due to design
> decision behind lightweight checkouts it's almost impossible to push
> from one machine to another if master branch of lightweight checkout is
> on the same machine where checkout resides. Even more if user have
> similar branch on his local machine then I suspect bzr will
> *incorrectly* open local branch instead of remote one.
>
> Therefore I think any actions which required write access to lightweight
> checkout should be prohibited to avoid user confusion and undesirable
> effects of changing the branch behind user back.
I occasionally push to lightweight checkouts, mainly because it's a bit
easier to push to a local path then to specify a full URL.
Cheers,
Jelmer
More information about the bazaar
mailing list