New branch created accidentally
Marco Pantaleoni
marco.pantaleoni at gmail.com
Thu Jan 27 08:30:14 UTC 2011
On Wed, Jan 26, 2011 at 11:36 PM, Eric Siegerman <lists08-bzr at davor.org>wrote:
>
> That said, the question remains: should *push* be able to put
> what was a simple SR into that SR+B state? That is, given:
> bzr init-repo repo
> cd repo
> bzr init branch
> cd branch
> # populate and commit
>
> what should this do?:
> cd .../repo/branch
> bzr push ..
>
imho, it should complain, giving a brief explanation of the meaning and
consequences of the command, and suggesting the user to use
--use-existing-dir if it really intended to do that.
> Having found a use for the SR+B configuration, I now see a use
> for turning a simple SR into one -- it's one way to migrate from
> an existing SR to this new way of organizing things.
>
> The question is, is "bzr push" a good place for that? I submit
> that "bzr reconfigure" would be a lot less, um, surprising. And
> even if "push" should be able to do it, IMO --use-existing-dir
> should be required; without that option, the attempt should fail.
>
> Thoughts?
>
either "bzr reconfigure" or "bzr push --use-existing-dir" are +1 for me.
Marco
--
Marco Pantaleoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110127/92c20a28/attachment-0001.html>
More information about the bazaar
mailing list