Robert Collins wrote:
On Mon, 2008-01-07 at 16:50 -0200, Gonzalo Arana wrote:
Tsantilas,

Thank you very much for the pointer.  I was able to 'branch'
squid3-bzr.

About bzr, here are two things that I've noticed:

* debian etch (stable) has an old version of bzr (0.11-1.1), which
does not recognize squid-bzr
  repository:
$ bzr branch http://www.squid-cache.org/bzr/squid3/trunk
bzr: ERROR: Unknown branch format: 'Bazaar Branch Format 6 (bzr
0.15)\n'

debian (and most linux/BSD distros I guess) come with a usable CVS
version.

Newer bzr is in backports.org, bsd ports, fedora and so on.

Christos; I found a new 1.0 release in unstable for Debian.


Ubuntu is the one causing me problems now. It's still 0.90 and according to the error message 0.92+ is needed.

###  bzr branch $TRUNKURL /src/bzr/trunk
bzr: ERROR: Unknown branch format: 'Bazaar pack repository format 1 (needs bzr 0.92)\n'

### bzr --version
Bazaar (bzr) 0.90.0


Amos



* bzr 1.0 seems to use a lot of memory for checkout at least:
$ ps axuw | grep bzr
garana   25130  8.9 15.7  87256 80276 pts/16   S+   10:46   1:06
/usr/bin/python /usr/bin/bzr branch
http://www.squid-cache.org/bzr/squid3/trunk
/home/garana/src/squid--bzr/trunk
$ ps axuw | grep cvs
garana   28048 16.4  0.3   4228  1860 pts/18   S+   16:11   0:02 cvs
co squid

CVS used only 4K, while bzr used more than 80M (it devastated my
workstation).

They are doing completely different things. CVS is streaming the final
texts from the remote server and is not processing any of the history
data. bzr is cloning the deep history of the repository. 80M is more
than I would have expected; I'd call that a bug. It won't ever be '4K'
though because python takes more memory than that.

$ ps axuw | grep bzr
garana   27912  7.1  2.9  17872 15096 pts/16   S+   16:03   0:02
/usr/bin/python /usr/bin/bzr bind
http://www.squid-cache.org/bzr/squid3/trunk

Since I am not a core squid developer, I know that I don't have a vote
on this, but
I have to say that I am quite disappointed with bzr resource usage.

Do you mind me asking how much RAM your workstation has?
-Rob



--
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.

Reply via email to