empty limbo dirs cause error about left-over files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool | ||
2.0 |
Won't Fix
|
Medium
|
Unassigned | ||
2.4 |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
bzr 1.18.1
On bzr pull I've got error about limbo. Then bzr status tells me that WT is out of date and I should run update. But update is also fails with the same limbo error.
C:\work\
bzr: ERROR: This tree contains left-over files from a failed operation.
Please examine C:/work/
keep, and delete it when you are done.
But limbo directory is empty. Why bzr blows up in this case???
C:\work\
Volume in drive C is XP
Volume Serial Number is B47B-BD42
Directory of C:\work\
31.08.2009 12:31 <DIR> .
31.08.2009 12:31 <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 46 941 372 416 bytes free
The bad thing that first error leaves WT locked:
C:\work\
Unable to obtain lock file://
held by <email address hidden> on host ten [process #2672]
locked 2 minutes, 37 seconds ago
Will continue to try until 12:45:07, unless you press Ctrl-C
If you're sure that it's not being modified, use bzr break-lock file://
I see there is 2 bugs:
1) Empty limbo dir should not prevent execution of operation.
2) limbo error leaves WT locked.
C:\work\
Lightweight checkout (format: 1.6 or 1.6.1-rich-root or 1.9 or 1.9-rich-root or dirstate or dirstate-tags or pack-0.92 or rich-r
oot or rich-root-pack)
Location:
light checkout root: .
checkout of branch: C:/work/
shared repository: C:/work/
Related branches:
push branch: bzr+ssh:
parent branch: bzr+ssh:
submit branch: C:/work/
Format:
control: Meta directory format 1
working tree: Working tree format 4
branch: Branch format 7
repository: Packs 6 (uses btree indexes, requires bzr 1.9)
Lock status:
working tree: locked
branch: unlocked
repository: unlocked
Working tree is out of date: missing 9 revisions.
In the working tree:
199 unchanged
0 modified
0 added
0 removed
0 renamed
1 unknown
169 ignored
13 versioned subdirectories
Branch history:
959 revisions
1104 days old
first revision: Sun 2006-09-03 02:28:15 +0200
latest revision: Thu 2009-09-10 22:41:55 +0200
Repository:
1935 revisions
Related branches
- bzr-core: Pending requested
- Diff: None lines
- John A Meinel: Approve
- Vincent Ladeuil: Approve
- Diff: None lines
- Jelmer Vernooij: Pending requested
-
Diff: 114 lines (+51/-18)4 files modifiedbzrlib/osutils.py (+15/-0)
bzrlib/tests/per_merger.py (+24/-8)
bzrlib/transform.py (+6/-10)
doc/en/release-notes/bzr-2.4.txt (+6/-0)
- Jelmer Vernooij (community): Approve
-
Diff: 318 lines (+129/-28) (has conflicts)9 files modifiedbzrlib/atomicfile.py (+1/-1)
bzrlib/osutils.py (+36/-2)
bzrlib/plugins/launchpad/lp_api.py (+1/-1)
bzrlib/tests/__init__.py (+26/-0)
bzrlib/tests/per_merger.py (+22/-5)
bzrlib/tests/test_transport.py (+24/-0)
bzrlib/transform.py (+8/-12)
bzrlib/transport/local.py (+8/-7)
doc/en/release-notes/bzr-2.4.txt (+3/-0)
Changed in bzr: | |
importance: | Undecided → Medium |
milestone: | none → 2.1 |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
Changed in bzr: | |
milestone: | 2.1.0 → 2.1b1 |
Changed in bzr: | |
status: | Incomplete → Confirmed |
Changed in bzr: | |
status: | Confirmed → Fix Released |
tags: | added: treetransform |
Changed in bzr: | |
status: | In Progress → Fix Released |
OK, there is 3 empty directories in .bzr/checkout:
empty limbo dir, empty pending-deletion dir, and empty shelf dir.
Removing only limbo does not help. Removing pending-deletion does help.
But in this case there is actually third bug:
3) Error message tell me about limbo dir, but actual problem was in pending-deletion dir.