tree lock is not released after a failing attempt at shelving an unversioned file

Bug #303568 reported by Benoit Pierre
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Unassigned

Bug Description

This is with the new builtin shelve command (not the one provided by the bzrtools plugin).

To reproduce (assuming you do not happen to have a "pouetpouet" file/directory under version control):

bzr shelve pouetpouet

gives the following output:

bzr: ERROR: Path(s) are not versioned: pouetpouet
/home/bpierre/progs/lib/python2.5/site-packages/bzrlib/lock.py:138: UserWarning: lock on <open file u'/home/bpierre/progs/src/bzr/work/.bzr/checkout/dirstate', mode 'rb' at 0x241f8a0> not released
  warn("lock on %r not released" % self.f)

Like the warning imply, the lock has not been released and need to be broken manually with break-lock. I also have to remove .bzr/checkout/limbo and .bzr/checkout/pending-deletion.

Tags: shelf

Related branches

Revision history for this message
Fabian Neumann (fneumann) wrote :

I get this warning even with *versioned* files. And worse is: break-lock plus removing limbo/ and pending-deletion/ do not fix it.

Bazaar (bzr) 1.10
  Python interpreter: /usr/bin/python 2.5.2

Revision history for this message
Dan Watkins (oddbloke) wrote :

I can't reproduce this in bzr.dev, so I assume it has been fixed in the interim. Feel free to reopen if you disagree.

Changed in bzr:
status: New → Fix Released
Revision history for this message
Dan Watkins (oddbloke) wrote :

I spoke to soon, I was just failing to hit the lock.

Changed in bzr:
status: Fix Released → Confirmed
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
Revision history for this message
Benoit Pierre (benoit.pierre) wrote :

Can be closed, fixed in 1.13.

Revision history for this message
Martin Pool (mbp) wrote :

Thanks. Feel free to close bugs yourself.

Changed in bzr:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.