checkout and pull on readonly branch
William Dode
wilk-ml at flibuste.net
Thu Oct 5 12:03:51 BST 2006
On 25-09-2006, Robert Collins wrote:
>
> --=-0S27z+GfoJf4E0TlJgh7
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> On Thu, 2006-09-21 at 07:44 +0000, William Dode wrote:
>> On 21-09-2006, Erik B=E5gfors 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"
>>=20
>> right, but it doesn't work now :
>>=20
>> wilk at domino:/vrac/python/bzr.dev$ bzr update
>> bzr: ERROR: Cannot lock: transport is read only: <bzrlib.transport.http._=
> pycurl.PyCurlTransport url=3Dhttp://bazaar-ng.org/bzr/bzr.dev/.bzr/reposito=
> ry/>
>
> 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.
Could you tell me the bug Id, i couldn't find it and i would like to
follow this...
--
William Dodé - http://flibuste.net
More information about the bazaar
mailing list