"bzr info" depends on private Repository._revision_store
Bug #123653 reported by
Jelmer Vernooij
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Unassigned |
Bug Description
"bzr info" relies on the private _revision_store member to be available.
File "/usr/lib/
c, t = self._revision_
AttributeError: 'NoneType' object has no attribute 'total_size'
Related branches
lp:~jelmer/bzr/repo-size
- Robert Collins (community): Needs Fixing
-
Diff: 136 lines (+55/-1)7 files modifiedNEWS (+3/-0)
bzrlib/remote.py (+10/-0)
bzrlib/repository.py (+6/-1)
bzrlib/smart/repository.py (+13/-0)
bzrlib/smart/request.py (+3/-0)
bzrlib/tests/per_repository/test_statistics.py (+10/-0)
bzrlib/tests/test_smart.py (+10/-0)
Changed in bzr: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
It should probably just ask the repository for its size, and do this only if a --verbose or --size option is given.