Bzr Problem
Martin Pool
mbp at sourcefrog.net
Fri Aug 31 03:28:50 BST 2007
On 8/22/07, Ainul Hakim <ainul.hakim at gmail.com> wrote:
> here i was in BlankOn team
>
> and i have problem with bzr
Hi,
You have a checkout of a branch that comes from a readonly http
server, so you can't commit to it. I realize the message is not very
clear. If you're in the blankon-pemaket group on Launchpad, you can
make your branch writeable by running this command in the checkout:
bzr bind sftp://smartikon@bazaar.launchpad.net/~blankon-pemaket/blankon/paket-siap-bangun
assuming that's your Launchpad username.
Otherwise if you want to make a new branch and just commit locally,
use 'bzr branch' instead of 'bzr co'.
>
> ==============================
> smartikon at smartikon:~/BlankOn/tmp-pidgin$ bzr co
> http://bazaar.launchpad.net/~blankon-pemaket/blankon/paket-siap-bangun
> smartikon at smartikon:~/BlankOn/tmp-pidgin$
> ls
> daftarpaket.txt paket-siap-bangun
> smartikon at smartikon:~/BlankOn/tmp-pidgin$ cd paket-siap-bangun/
> smartikon at smartikon:~/BlankOn/tmp-pidgin/paket-siap-bangun$ ls
> daftar-paket.txt
> smartikon at smartikon:~/BlankOn/tmp-pidgin/paket-siap-bangun$ gedit
> daftar-paket.txt
> smartikon at smartikon:~/BlankOn/tmp-pidgin/paket-siap-bangun$ bzr commit
> bzr: ERROR: bzrlib.errors.UnlockableTransport: Cannot lock: transport is
> read only: <bzrlib.transport.http._urllib.HttpTransport_urllib
> url=http://bazaar.launchpad.net/~blankon-pemaket/blankon/paket-siap-bangun/.bzr/repository/>
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 650,
> in run_bzr_catch_errors
> return run_bzr(argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 612,
> in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 304,
> in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2118,
> in run
> reporter=reporter)
> File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line
> 165, in write_locked
> return unbound(self, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line
> 244, in commit
> result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line
> 165, in write_locked
> return unbound(self, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line
> 160, in commit
> revprops=revprops, *args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 265, in
> commit
> self._check_bound_branch()
> File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 486, in
> _check_bound_branch
> self.master_branch.lock_write()
> File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1308,
> in lock_write
> self.repository.lock_write()
> File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
> 235, in lock_write
> self.control_files.lock_write()
> File "/usr/lib/python2.5/site-packages/bzrlib/lockable_files.py", line
> 234, in lock_write
> self._lock.lock_write()
> File "/usr/lib/python2.5/site-packages/bzrlib/lockdir.py", line 420,
> in lock_write
> self.wait_lock()
> File "/usr/lib/python2.5/site-packages/bzrlib/lockdir.py", line 387,
> in wait_lock
> self.attempt_lock()
> File "/usr/lib/python2.5/site-packages/bzrlib/lockdir.py", line 198,
> in attempt_lock
> raise UnlockableTransport(self.transport)
> UnlockableTransport: Cannot lock: transport is read only:
> <bzrlib.transport.http._urllib.HttpTransport_urllib
> url=http://bazaar.launchpad.net/~blankon-pemaket/blankon/paket-siap-bangun/.bzr/repository/>
>
> bzr 0.15.0 on python 2.5.1.candidate.1 (linux2)
> arguments: ['/usr/bin/bzr', 'commit']
>
> ** please send this report to bazaar at lists.ubuntu.com
> ================================
>
>
--
Martin
More information about the bazaar
mailing list