Error when cancelling commit for git branch
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
QBzr | Status tracked in Trunk | |||||
0.21 |
Fix Released
|
Medium
|
Unassigned | |||
0.22 |
Fix Released
|
Medium
|
Unassigned | |||
Trunk |
Fix Released
|
Medium
|
Jared Silva |
Bug Description
Open Bazaar Explorer, open a git branch, click commit, and click cancel.
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
if (self.tree.
AttributeError: 'LocalGitBranch' object has no attribute 'control_files'
bzr 2.5.1 on python 2.7.3 (linux2)
arguments: ['/usr/bin/bzr', 'qcommit', '--ui-mode']
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bash_completion /usr/lib/
changelog_merge /usr/lib/
explorer /usr/lib/
fastimport /usr/lib/
git /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
po_merge /usr/lib/
qbzr /usr/lib/
rewrite /usr/lib/
svn /usr/lib/
weave_fmt /usr/lib/
Related branches
- Alexander Belchenko: Approve
-
Diff: 26 lines (+4/-1)2 files modifiedNEWS.txt (+3/-0)
lib/commit.py (+1/-1)
affects: | bzr-explorer → qbzr |
Changed in qbzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: easy git qcommit |
Changed in qbzr: | |
assignee: | nobody → Jared Silva (jayrod) |
Changed in qbzr: | |
milestone: | none → 0.23.1 |
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