bzr diff --using <whatever> crashes if no commit has been made
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Invalid
|
Undecided
|
Unassigned | ||
Bazaar Difftools Plugin |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to recreate;
- Create a new directory for project and change into it.
- Do "bzr init".
- Add a file "echo 'hello' > a.txt"
- Add it to bzr : "bzr add a.txt".
- Run "bzr diff --using mgdiff"
Traceback looks like:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/home/
File "/home/
File "/home/
File "/home/
File "/home/
File "/usr/lib/
return _exporters[
File "/usr/lib/
return func(tree, dest, root)
File "/usr/lib/
entries.next() # skip root
StopIteration
bzr 1.2.0.candidate.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'diff', '--using', 'meld']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: 'en_AU.UTF-8'
plugins:
bzr_difftools /home/erikd/
bzrtools /usr/lib/
gtk /usr/lib/
lastlog /home/erikd/
launchpad /usr/lib/
lessdiff /home/erikd/
lesslog /home/erikd/
signing /home/erikd/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
I can't reproduce this problem, but you've got the bzr_difftools plugin installed, and the bug appears to be coming from there.