bzr-svn branch taking a very long time
Wesley J. Landaker
wjl at icecavern.net
Mon Mar 10 02:27:12 GMT 2008
André Pang wrote:
> I'm trying out bzr-svn for the first time, and am using it to try to
> mirror our company repository. I left it running for almost 12 hours,
> but the initial branch never finished, and bzr-svn chewed up about
> 1.17GB of RAM before I aborted it. (It got around 90% of the way
> toward the end and I'm confident that it would have finished, but it's
> pretty difficult for me to leave my laptop connected to a network for
> 12 hours!) Is bzr-svn taking 12 hours for a full initial branch of a
> complete repository normal?
This isn't directly addressing your problem, but one thing I have found
very useful with bzr-svn is to do an init+pull instead of a branch,
because then if it dies halfway, you can resume.
If you do this:
$ bzr branch svn+https://.../trunk
and it dies half way, you have to start over.
If you do this instead:
$ bzr init trunk
$ cd trunk
$ bzr pull svn+https://.../trunk
and it dies half way, you can run the pull over again and it will pick
up where it left off.
This is very useful because, for me, bzr-svn always takes about two or
three pulls to get everything because of what appears to be a memory
leak (i.e. in between, it dies with MemoryErrors).
Never fear, though -- in my experience, once things get branched the
first time, it works like a charm with no additional performance or
memory problems. =)
--
Wesley J. Landaker <wjl at icecavern.net> <xmpp:wjl at icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
More information about the bazaar
mailing list