checkout and pull on readonly branch
Robert Collins
robertc at robertcollins.net
Mon Sep 25 10:16:55 BST 2006
On Thu, 2006-09-21 at 07:44 +0000, William Dode wrote:
> On 21-09-2006, Erik Bågfors wrote:
> > On 9/21/06, William Dode <wilk-ml at flibuste.net> wrote:
> >> Hi,
> >>
> >> I just see that we can checkout --lightweight a readonly branch. But
> >> after that we cannot pull to stay up to date. Is it a missing feature ?
> >
> > Not really, try "bzr update". What you are trying to do is to pull
> > something into the branch that you have checked out. Since you do not
> > have write-access to it, that's not going to work.
> >
> > To update your working tree, use "bzr update"
>
> right, but it doesn't work now :
>
> wilk at domino:/vrac/python/bzr.dev$ bzr update
> bzr: ERROR: Cannot lock: transport is read only: <bzrlib.transport.http._pycurl.PyCurlTransport url=http://bazaar-ng.org/bzr/bzr.dev/.bzr/repository/>
both pull and update normally are able to alter the branch that is being
pulled into/updated. This is not the case with a lightweight checkout,
so the usual decorator based locking behaviour fails.
I'm filing a bug now - thanks for the report.
Cheers,
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060925/55efe4cc/attachment.pgp
More information about the bazaar
mailing list