Tommi Vainikainen wrote:
> Since I upgraded to bzr 1.17 I also got this when running "bzr up" to
> checkout from bzr+ssh://bazaar.launchpad.net/%7Ebzr/bzr-git/trunk/
>
> bzr: ERROR: Cannot lock LockDir(lp-44636176:///~bzr/bzr-
> git/trunk/.bzr/branchlock): Transport operation not possible: readonly
> transport
>
^- This is happening because the code changed to switch escaping rules.
So we have a saved location of:
.../%7E...
but you are now updating from:
.../~...
And the internal code uses:
if url == saved_url:
# updating from checkout master, just take a read lock
tree.lock_read()
else:
tree.lock_write()
They no longer compare equal, so now you get a failure as you can't
write lock the master branch.
I don't know for sure the workaround, but something like:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tommi Vainikainen wrote: //bazaar. launchpad. net/%7Ebzr/ bzr-git/ trunk/ lp-44636176: ///~bzr/ bzr- .bzr/branchlock ): Transport operation not possible: readonly
> Since I upgraded to bzr 1.17 I also got this when running "bzr up" to
> checkout from bzr+ssh:
>
> bzr: ERROR: Cannot lock LockDir(
> git/trunk/
> transport
>
^- This is happening because the code changed to switch escaping rules.
So we have a saved location of:
.../%7E...
but you are now updating from:
.../~...
And the internal code uses: lock_read( ) lock_write( )
if url == saved_url:
# updating from checkout master, just take a read lock
tree.
else:
tree.
They no longer compare equal, so now you get a failure as you can't
write lock the master branch.
I don't know for sure the workaround, but something like:
bzr unbind; bzr bind; bzr up
or worst case
bzr unbind; bzr bind lp:bzr-git; bzr up
Should get it to work.
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkp ocjsACgkQJdeBCY SNAAMt8QCeJW5Z2 1OOGDxvoxoyhjOC oC/6 zOVH0A8cUXt+ 8eNKo
eXQAoKUP0sM9Rm+
=594x
-----END PGP SIGNATURE-----