Pulling multiple branches in the same repository
zindar at gmail.com
Mon May 8 09:49:51 BST 2006
On 5/8/06, Martin Pool <mbp at canonical.com> wrote:
> On 08/05/2006, at 5:57 PM, Erik Bågfors wrote:
> > Hi. I pulled bzr.dev and bzr.0.8 at the same time, into the same
> > repository, and I got the following error message.
> > : [bagfors at zyrgelkwyt]$ ; bzr pull
> > Using saved location: http://bazaar-vcs.org/bzr/bzr.0.8/
> > bzr: ERROR: Could not acquire lock
> > LockDir(/home/bagfors/src/bzr/.bzr/repository/lock)
> > /home/bagfors/src/bzr/bzr.dev/bzrlib/lockable_files.py:107:
> > UserWarning: file group
> > LockableFiles(<bzrlib.transport.local.LocalTransport
> > url=/home/bagfors/src/bzr/bzr.0.8/.bzr/branch/>) was not explicitly
> > unlocked
> > warn("file group %r was not explicitly unlocked" % self)
> > [Exit 3 ]
> > pulling again works...
> > I understand that there is a locking issue here, but I see two
> > problems with this
> > 1) The error message is really bad. Will confuse a user
> How about something like this:
> Could not acquire repository lock on /home/bagfors/src/bzr/
> Currently held by bagfors at zyrgelkwyt process 123, "bzr pull"
> Also we should show something while waiting for the lock.
Waiting for the lock sounds like a good idea...
More information about the bazaar