checkout --lightweight --read-only?
Jari Aalto+usenet
jari.aalto at cante.net
Tue Jun 27 07:50:18 BST 2006
A) The 'branch' command is heavyweight and downloads complete remote
repository with all the history if I understand correct.
B) The 'checkout --lightweight' mimics somewhat CVS/SVN behavior to
download only the working copy without the history.
Hm.
There is gap here. The above choices do not help in situations where
person is not part of the development team, but only follows it e.g. to
get the latest code.
The (A) is too heavy for this purpose, the (B) cannot be used for
"public repos", because it supposes write access.
With 0.8.2, is it possible to do something similar to CVS/SVN:
cvs co
cvs update
Perhaps there needs to be option?
checkout --lightweight --read-only
===========
This would prevent the locking at remote site. Currently the error
message from the above command (exempted non-existing --read-only opt)
for public bzr repositories is:
$ bzr checkout --lightweight http://xsteve.nit.at/dvc bzr-dvc
bzr: ERROR: Cannot lock: transport is read only: <bzrlib.transport.http._urllib.HttpTransport_urllib url=http://xsteve.nit.at/dvc/.bzr/branch/>
/usr/lib/python2.4/site-packages/bzrlib/lockable_files.py:107: UserWarning: file group LockableFiles(<bzrlib.transport.local.LocalTransport url=/usr/share/site-lisp/net/bzr-packages/bzr-dvc/.bzr/checkout/>) was not explicitly unlocked
warn("file group %r was not explicitly unlocked" % self)
Jari
More information about the bazaar
mailing list