"bzr check" does not handle our split up .bzr layout properly (Errors if there is no branch)
Bug #64783 reported by
Matthew Paul Thomas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Dan Watkins |
Bug Description
bzr check is not internally structured around checking repositories, branches and trees as separate items, its basically the original code from when there was only a Branch object, and as such it currently requires that a Branch be present. It needs to be refactored to:
- check the repository directly.
- scan for and find branches in the same repository under the path check was given and check they are valid and their history is in the repository.
- scan for and find working trees likewise.
Related branches
lp:~oddbloke/bzr/check
(Merged)
description: | updated |
Changed in bzr: | |
assignee: | nobody → lifeless |
milestone: | none → 1.0rc1 |
Changed in bzr: | |
assignee: | nobody → daniel-thewatkins |
status: | Triaged → In Progress |
Changed in bzr: | |
milestone: | none → 1.4 |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I'm also have this error when runnign this command from shared repository without working trees.
'bzr check' intended to check consistency of branch history (as help says) and I assume it's means check consistency of repository but not working tree of branch.
So I think variant 3 is expected behaviour. I'm also think that 'bzr check' should check repository consistency when running from the root of shared repository.
It's should be not so hard to fix (just try to open branch and don't try to open working tree) so I set Medium importance for this bug.