Using bzr.dev r5540,
$ bzr resolve --take-other bracco_census.py
bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'lower'
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 912, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 1112, in run_bzr
ret = run(*run_argv)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 690, in run_argv_aliases
return self.run(**all_cmd_args)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/commands.py", line 705, in run
return self._operation.run_simple(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 160, in run
resolve(tree, file_list, action=action)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 189, in resolve
conflict._do(action, tree)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 415, in _do
meth(tree)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 549, in action_take_other
winner='other')
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 444, in _resolve_with_cleanups
op.run_simple(tt, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/conflicts.py", line 508, in _resolve
tt.apply()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transform.py", line 1516, in apply
self._check_malformed()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transform.py", line 509, in _check_malformed
conflicts = self.find_conflicts()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transform.py", line 500, in find_conflicts
conflicts.extend(self._duplicate_entries(by_parent))
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/transform.py", line 642, in _duplicate_entries
name_ids = [(n.lower(), t) for n, t in name_ids]
AttributeError: 'NoneType' object has no attribute 'lower'
bzr 2.3.0dev2 on python 2.6.5 (Darwin-10.4.0-i386-32bit)
arguments: ['/Library/Frameworks/Python.framework/Versions/Current/bin/bzr', 'resolve', '--take-other', 'bracco_census.py']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
automirror /Users/nmb/.bazaar/plugins/automirror [0.1.0]
bash_completion /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/bash_completion [2.3.0dev2]
bzrtools /Users/nmb/.bazaar/plugins/bzrtools [2.3.0]
colo /Users/nmb/.bazaar/plugins/colo [0.2.1dev]
deleted_log_formatter /Users/nmb/.bazaar/plugins/deleted_log_formatter.py [unknown]
explorer /Users/nmb/.bazaar/plugins/explorer [1.1.2dev]
fastimport /Users/nmb/.bazaar/plugins/fastimport [0.9.0dev]
git /Users/nmb/.bazaar/plugins/git [0.5.3dev]
hg /Users/nmb/.bazaar/plugins/hg [0.2.0dev]
latex_version_info /Users/nmb/.bazaar/plugins/latex_version_info [0.0.2]
launchpad /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/launchpad [2.3.0dev2]
netrc_credential_store /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.3.0dev2]
news_merge /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib/plugins/news_merge [2.3.0dev2]
qbzr /Users/nmb/.bazaar/plugins/qbzr [0.20.0dev1]
rst2html /Users/nmb/.bazaar/plugins/rst2html [0.0.2]
*** 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://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
This is in a real, working branch. I haven't tried to make a reproduction recipe for this yet.
It is reproducible in a simple example (feel free to use this as a test case):
nmb@guttle[~/tmp]$ bzr init test1 ~/tmp/test1] $ echo "content" > file1 ~/tmp/test1] $ bzr ci -m 'first trunk revision' nmb/tmp/ test1/ ~/tmp/test1] $ bzr add file1 ~/tmp/test1] $ bzr ci -m 'first trunk revision' nmb/tmp/ test1/ ~/tmp/test1] $ cd ../test2 ~/tmp/test2] $ bzr merge nmb/tmp/ test1/ ~/tmp/test2] $ bzr ci -m 'merge first revision' nmb/tmp/ test2/ ~/tmp/test2] $ cd ../test1 ~/tmp/test1] $ bzr merge ../test2 ~/tmp/test1] $ bzr st ~/tmp/test1] $ bzr ci -m 'make the branches identical' nmb/tmp/ test1/ ~/tmp/test1] $ echo "more contents" >> file1 ~/tmp/test1] $ bzr ci -m 'trunk version' nmb/tmp/ test1/ ~/tmp/test1] $ cd ../test2 ~/tmp/test2] $ echo "aggle flaggle klabble!" >> file1 ~/tmp/test2] $ echo 'aggle flaggle klabble!' >> file1 ~/tmp/test2] $ bzr ci -m 'branch revision' nmb/tmp/ test2/ ~/tmp/test2] $ cd ../test1 ~/tmp/test1] $ bzr merge nmb/tmp/ test2/
rCreated a standalone tree (format: 2a)
nmb@guttle[~/tmp]$ bzr branch test1 test2
Branched 0 revision(s).
nmb@guttle[~/tmp]$ cd test1
nmb@guttle[
nmb@guttle[
Committing to: /Users/
aborting commit write group: PointlessCommit(No changes to commit)
bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow.
nmb@guttle[
adding file1
nmb@guttle[
Committing to: /Users/
added file1
Committed revision 1.
nmb@guttle[
nmb@guttle[
Merging from remembered parent location /Users/
+N file1
All changes applied successfully.
nmb@guttle[
Committing to: /Users/
deleted
modified file1
Committed revision 1.
nmb@guttle[
nmb@guttle[
All changes applied successfully.
nmb@guttle[
pending merge tips: (use -v to see all merge revisions)
Neil Martinsen-Bu... 2010-11-18 merge first revision
nmb@guttle[
Committing to: /Users/
Committed revision 2.
nmb@guttle[
nmb@guttle[
Committing to: /Users/
modified file1
Committed revision 3.
nmb@guttle[
nmb@guttle[
-bash: !": event not found
nmb@guttle[
nmb@guttle[
Committing to: /Users/
modified file1
Committed revision 2.
nmb@guttle[
nmb@guttle[
Merging from remembered submit location /Users/
M file1 ...