resolve --take-other produces AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil | ||
2.2 |
Fix Released
|
High
|
Vincent Ladeuil | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
Vincent Ladeuil | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Exact console output follows:
Last login: Fri Sep 24 13:42:37 on ttys003
~>bzr version -v
Bazaar (bzr) 2.2.0
Python interpreter: /usr/bin/python 2.6.1
Python standard library: /System/
Platform: Darwin-
bzrlib: /Library/
Bazaar configuration: /Users/glen/.bazaar
Bazaar log file: /Users/
Copyright 2005-2010 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar is part of the GNU Project to produce a free operating system.
~>bzr init tmp
Created a standalone tree (format: 2a)
~>cd tmp
~/tmp>touch file1
~/tmp>bzr add
adding file1
~/tmp>bzr ci -m "stuff"
Committing to: /Users/glen/tmp/
added file1
Committed revision 1.
~/tmp>cd ..
~>bzr branch tmp tmp2
Branched 1 revision(s).
~>cd tmp
~/tmp>echo "1" >> file1
~/tmp>bzr ci -m "branch 1"
Committing to: /Users/glen/tmp/
modified file1
Committed revision 2.
~/tmp>cd ..
~>cd tmp2
~/tmp2>echo "2" >> file1
~/tmp2>bzr ci -m "branch 2"
Committing to: /Users/glen/tmp2/
modified file1
Committed revision 2.
~/tmp2>cd ../tmp
~/tmp>bzr merge ../tmp2
M file1
Text conflict in file1
1 conflicts encountered.
~/tmp>bzr resolve file1 --take-other
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/Library/
return the_callable(*args, **kwargs)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
return self._operation
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
resolve(tree, file_list, action=action)
File "/Library/
conflict.
File "/Library/
meth(tree)
File "/Library/
winner='other')
File "/Library/
op.
File "/Library/
self.cleanups, self.func, *args, **kwargs)
File "/Library/
result = func(*args, **kwargs)
File "/Library/
tt.apply()
File "/Library/
self.
File "/Library/
conflicts = self.find_
File "/Library/
conflicts.
File "/Library/
name_ids = [(n.lower(), t) for n, t in name_ids]
AttributeError: 'NoneType' object has no attribute 'lower'
bzr 2.2.0 on python 2.6.1 (Darwin-
arguments: ['/usr/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
plugins:
bash_completion /Library/
bzrtools /Library/
colo /Library/
email /Library/
epidirs /Users/
explorer /Library/
extmerge /Library/
fastimport /Library/
gardener /Users/
gsdirs /Users/
keychain /Library/
launchpad /Library/
loom /Library/
netrc_
news_merge /Library/
pipeline /Library/
qbzr /Users/
rewrite /Library/
server_auth /Users/
shortcuts /Users/
signature /Users/
svn /Users/
upload /Library/
xmloutput /Library/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
~/tmp>bzr resolve file1 --take-this
~/tmp>bzr s
modified:
file1
pending merge tips: (use -v to see all merge revisions)
Glen Mailer 2010-09-24 branch 2
~/tmp>
Related branches
- Andrew Bennetts: Needs Fixing
-
Diff: 171 lines (+67/-14)5 files modifiedNEWS (+4/-0)
bzrlib/conflicts.py (+3/-4)
bzrlib/tests/blackbox/test_conflicts.py (+45/-0)
bzrlib/tests/test_workingtree.py (+7/-7)
bzrlib/transform.py (+8/-3)
Changed in bzr: | |
status: | Confirmed → In Progress |
Changed in bzr: | |
milestone: | none → 2.3b4 |
status: | In Progress → Fix Released |
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
Changed in bzr (Ubuntu): | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → Fix Released |
tags: |
added: verification-done removed: verification-ok |
This also happens with --no-plugins.