On Wed, Aug 01, 2012 at 09:02:52PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
> Open Bazaar Explorer, open a git branch, click commit, and click cancel.
> bzr: ERROR: exceptions.AttributeError: 'LocalGitBranch' object has no
> attribute 'control_files'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/commit.py", line 733, in closeEvent
> self._save_or_wipe_commit_data()
> File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/commit.py", line 730, in _save_or_wipe_commit_data
> self.save_commit_data()
> File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/qbzr/lib/commit.py", line 600, in save_commit_data
> if (self.tree.branch.control_files.get_physical_lock_status()
> AttributeError: 'LocalGitBranch' object has no attribute 'control_files'
qbzr should be using self.tree.branch.get_physical_lock_status()
rather than the method on control files.
On Wed, Aug 01, 2012 at 09:02:52PM -0000, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
> Open Bazaar Explorer, open a git branch, click commit, and click cancel.
> bzr: ERROR: exceptions. AttributeError: 'LocalGitBranch' object has no
> attribute 'control_files'
> Traceback (most recent call last): python2. 7/dist- packages/ bzrlib/ plugins/ qbzr/lib/ commit. py", line 733, in closeEvent or_wipe_ commit_ data() python2. 7/dist- packages/ bzrlib/ plugins/ qbzr/lib/ commit. py", line 730, in _save_or_ wipe_commit_ data commit_ data() python2. 7/dist- packages/ bzrlib/ plugins/ qbzr/lib/ commit. py", line 600, in save_commit_data branch. control_ files.get_ physical_ lock_status( ) branch. get_physical_ lock_status( )
> File "/usr/lib/
> self._save_
> File "/usr/lib/
> self.save_
> File "/usr/lib/
> if (self.tree.
> AttributeError: 'LocalGitBranch' object has no attribute 'control_files'
qbzr should be using self.tree.
rather than the method on control files.
Cheers,
Jelmer