bazaar crash

John Arbash Meinel john at arbash-meinel.com
Tue Jul 31 04:00:39 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> On 7/30/07, Bernhard Mulder <bwmulder at pacbell.net> wrote:
>>> Is this, as the path suggests, a checkout of a svn repository?
>> Yes, this is a checkout of the gcc source tree (Gnu C Compiler). For some
>> reason, an update behind company firewalls does not seem to work, so I
>> wanted to re-create the gcc source tree by creating a dumpfile.
>>
>> Maybe I am missing something, but with subversion you can archive your
>> repository as a revision dump, and you can re-create the repository out of
>> the dump file. You can also use incremental dumps to send changes via email,
>> and you can apply these dumps to make changes to the repository (assuming
>> that the repository has not changed, and ignoring the lack of merge support
>> of subversion relative to bazaar).
>>
>> The current backup procedure I use for another subversion repository is to
>> create one incremental dump for each revision, using some fairly simple
>> scripts. My attempts to do something similar for bazaar so far have failed.
>>
>> It might be that, coming from subversion, I have some wrong idea what
>> 'bundle-revisions' is thought for. Maybe I should create an empty bzr
>> repository with 'bzr init' and specify this as "BASE" to get the effect I
>> want? The idea is that once I have the dump file, I can then merge it into
>> ANY repository which was created with 'bzr init'
> 
> I filed a bug for the exception you reported.
> 
> Til it's fixed bundling relative to a separate empty branch is
> probably a good way to go.
> 

Well, you can still do:

bzr bundle -r -2..-1 > foo.txt

Which doesn't use another branch/repository.

Or if you want the whole thing you can do:

bzr bundle -r0..-1 > whole_branch.patch

It will probably be a bit slow, so merge-directives are a bit better (if you
have bzr 0.18 or newer), though they may require another branch.

John
=:->

qq
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrqXXJdeBCYSNAAMRAmmAAJ9a1Ho/8DUH+pZIE2KnO619CcNEYgCggVzr
VypufpU8rvkl5onF9is1Ykg=
=OnoB
-----END PGP SIGNATURE-----



More information about the bazaar mailing list