Comment 1 for bug 406908

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 406908] [NEW] Lightweight checkouts aren't

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

Johan Walles wrote:
> I just tried this with Bazaar 1.16.1 and bzr-svn 0.6.3:
>
> bzr init-repo --default-rich-root beagle-repo cd beagle-repo bzr
> checkout --lightweight
> http://svn.apache.org/repos/asf/maven/scm/tags/maven-scm-1.2
> apskaft
>
> That seems to download the full history (which takes ages).
>
> The bazaar documentation at
> http://doc.bazaar-vcs.org/latest/en/user-
> guide/index.html#getting-a-lightweight-checkout says: "To get a
> history- less checkout in Bazaar, use the --lightweight option".
>
> I expected --lightweight to make bzr *not* download any history.
Thanks for the bug report.

I can't reproduce this problem, these two commands do indeed create
only a checkout for me. While they are slow (139 seconds) that's
mainly due to the remote server being slow and a network trace shows
it's only retrieving the last revision.

If you don't have a cache of the "svn log -v" output of the remote
repository yet bzr-svn may be trying to retrieve that.

Can you try to disable the cache for this particular repository by
adding the following two lines to ~/.bazaar/subversion.conf:

[13f79535-47bb-0310-9956-ffa450edef68]
use-cache = False

and check if that works better?

Cheers,

Jelmer

  status incomplete

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKcbJdAAoJEACAbyvXKaRXCM4P/3/sfmwOPT4cN67FkUxjKmsc
kgJMhQ04HCqoBxjvASD72dXCgwqyQ6qJy6aRFxtc77OHVcr58Rjk06QgOOgrfCLD
ige8USBFUFg6lJAgYxtJk//bWz80KwXGEo9e9K02PChR/+4Rv2eadAwrhYhDtakz
EaHG1fQ+kkVU11p3fYhyW5Ht3tvKdcAgZngopNmbALJqpP7wmoW/XCCLZ6TZU6h+
E6AsgjeYgYajboE5V7h20+jFQDRpqm/pAV+TaEJgckUBaAtOdk1wq+L+U0LW6WD+
iHx7aoIbpcNC6z1rOv0vsBrQHLLvJLeC8O2Eoz2MrwufJ8LzQ4e3pcr5CwlqaQKv
6erhZw6bONexM2XVoXwzSDc0Ej4rGrZq1xrcxi8Mcadc/WN2fLYv3wGzmzheLPZ2
Xv4aOmx10h69QpnBnRDzdKLm4z9qXD+C/qEtvM+LBW/NLKO0J5ankeXea8kM7iNu
JTJxb5R9OX4gKio6xw3zUbYmDhuL4LAv2ZhwAulbXbSS3k9j9GEl9P1kOxjnVOo3
jnTvOSvWl6xE2ZgegukRz4Ug+tQxcDs9tpLPTYrPm3mNcE4XntzGCeliT8mF8rzL
ir4xUFvQz7BsonVtiopa1X9aOd+Cr+CMEWi6NB32BMK1+dLenNQ1ONHv+x6PnwZ3
xp+VavN2Wykp6PiNIxRk
=qf82
-----END PGP SIGNATURE-----