2008/7/12 Robert Collins <<a href="mailto:robertc@robertcollins.net">robertc@robertcollins.net</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, 2008-07-12 at 08:50 +0200, Marius Kruger wrote:<br>> I think this will be good (to be consistent with init).<br>
> And its not much of a disaster if your new branches are configured<br>
> to use a shared repository, since we now have the `reconfigure`<br>
> command which will make recovery very easy. (I see the reconfigure<br>
> help needs some love, as it took me a while to figure out how to use<br>
> it )<br>
<br>
</div>init-repo can affect existing branches:<br>
<br>
bzr init-repo foo<br>
mkdir foo/bar<br>
bzr branch SOMETHING foo/bar/baz<br>
bzr init-repo foo/bar<br>
bzr check foo/bar/baz</blockquote></div><br>Ok, so it can still be disastrous, if you accidentally make a repository within a repository, <br>where there is existing branches in the new repository's jurisdiction.<br>
<br>Since this is possible at the moment and it can big problems especially if it goes<br>undetected. I think we should at least give a warning if you create a repository within a repository, or even better detect if we are screwing up branches (but that could be very difficult/slow). Do you agree?<br>
<br>regards<br>marius<br>