<div>Good!</div><div><br></div><div>Just be sure your old repos didn&#39;t actually use nested subtrees, otherwise you could experience problems later.</div><div><br></div><div>Marco</div><div><br></div>On Thu, Sep 30, 2010 at 9:58 AM, Harry Flink <span dir="ltr">&lt;<a href="mailto:to-harry-from-bzrmailinglist@steo.fi">to-harry-from-bzrmailinglist@steo.fi</a>&gt;</span> wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thank you Marco!<br>
<br>
So simple solution and it works \o/.<br>
<br>
I havent tested it thoroughly yet but it<br>
seems I have all the revision history<br>
as should be and format is now &quot;2a&quot;.<br>
<br>
I have only one repository... or I mean<br>
branch, I havent used shared repositories<br>
with the project but tested it long time<br>
ago. Thus I dont need script, thanks.<br>
<br>
Also &quot;bzr log&quot; and &quot;bzr log -v&quot; seems<br>
to be ALOT faster now than with old format.<br>
With old format &quot;bzr log &lt;subdirectory&gt;&quot;<br>
made bzr to crash but with new one I can<br>
finally get list of history related to<br>
a path.<br>
<br>
Thank you Marco again!<br>
<br>
Regards,<br>
Harry Flink<br>
<div><div></div><div class="h5"><br>
<br>
On Thu, September 30, 2010 10:21, Marco Pantaleoni wrote:<br>
&gt; Hi Harry,<br>
&gt; if you are sure you are not actually using subtrees, you could be able to<br>
&gt; do:<br>
&gt;<br>
&gt; mv repo old-repo<br>
&gt; bzr init-repository --default-rich-root --no-trees repo<br>
&gt; (for each BRANCH in old-repo)<br>
&gt;   bzr init repo/BRANCH<br>
&gt;   bzr pull -d repo/BRANCH old-repo/BRANCH<br>
&gt;<br>
&gt; I also have a bash script that automates this for a large collection of<br>
&gt; repositories and branches, if you are interested.<br>
&gt;<br>
&gt; Marco<br>
&gt;<br>
&gt; P.S. I agree with you that users should be less involved in repository<br>
&gt; format juggling (in an ideal world, at least).<br>
&gt;<br>
&gt; On Wed, Sep 29, 2010 at 10:51 PM, Harry Flink &lt;<br>
&gt; <a href="mailto:to-harry-from-bzrmailinglist@steo.fi">to-harry-from-bzrmailinglist@steo.fi</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hello!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Me and now many my co-workers are using<br>
&gt;&gt; bazaar as main version control system and<br>
&gt;&gt; really like it.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m managing quite a big project with it and<br>
&gt;&gt; over 2 years ago during jumping from SVN to BZR<br>
&gt;&gt; tried the nested tree support which wasnt so<br>
&gt;&gt; good idea. I got rid of the subtrees by just<br>
&gt;&gt; &quot;bzr rm&quot; them and just keep all needed files<br>
&gt;&gt; in the same big project. It seems to work OK.<br>
&gt;&gt;<br>
&gt;&gt; During the 2 years I have upgraded the BZR<br>
&gt;&gt; directory format to newer formats but they<br>
&gt;&gt; always have to be with subtree support.<br>
&gt;&gt; (I dont get it why BZR users even have to<br>
&gt;&gt; care about internal repository file formats?)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Now when branching my repo bzr (v2.1.1) gives<br>
&gt;&gt; me the following warning:<br>
&gt;&gt; &quot;Fetching into experimental format RepositoryFormatKnitPack3().<br>
&gt;&gt; This format may be unreliable or change in the future without an upgrade<br>
&gt;&gt; path.&quot;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Command &quot;bzr info --verbose&quot; shows the<br>
&gt;&gt; following info about the repository format:<br>
&gt;&gt;     control: Meta directory format 1<br>
&gt;&gt; working tree: Working tree format 6<br>
&gt;&gt;      branch: Branch format 6<br>
&gt;&gt;  repository: Packs containing knits with subtree support<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m a bit worried for the support of this<br>
&gt;&gt; respository format because I dont want to loose<br>
&gt;&gt; my history of all 4000 revisions and still want<br>
&gt;&gt; to keep up with latest versions of bzr.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Is there any kind of method to drop history<br>
&gt;&gt; of subtrees so that I could go back using the<br>
&gt;&gt; &quot;normal&quot; repository formats instead?<br>
&gt;&gt;<br>
&gt;&gt; I was hoping for something like SVNs<br>
&gt;&gt; &quot;svnadmin dump&quot; text format. I dont know if it<br>
&gt;&gt; could be possible to use some rebase/merge stuff<br>
&gt;&gt; to do this step by step with automated script<br>
&gt;&gt; by recreating it on another repository but skip<br>
&gt;&gt; the very old revisions that relate to subtrees.<br>
&gt;&gt;<br>
&gt;&gt; I know this is my own fault being so stupid<br>
&gt;&gt; to test experimental features long time ago<br>
&gt;&gt; and not understand that these tests might<br>
&gt;&gt; affect long time in the future too.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Harry Flink<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Marco Pantaleoni<br>
&gt;<br>
<br>
<br>
</div></div>--<br>
Best Regards,<br>
<font color="#888888">Harry Flink<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Marco Pantaleoni<br><br>