NoSuchRevision traceback when given revid is not in the default merge source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
On merging a specific revision, "bzr merge" crashes when omitting a mandatory (and important) command line argument (the final path argument "." for the current directory).
See http://
Worked flawlessly with the correct command line.
The application should report the omission gracefully, and not error out with an exception and stack trace dump to the user level on this, I believe.
Configuration:
* bzr: 1.16.1
* bzr-svn plugin: 0.6.2
* Python 2.6.2 on Ubuntu Jaunty
gkloss@
Merging from remembered submit location https://<email address hidden>
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return bzrlib.
File "/usr/lib/
location, revision, remember, possible_
File "/usr/lib/
other_
File "/usr/lib/
merger.
File "/usr/lib/
self.
File "/usr/lib/
target.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb)
File "/usr/lib/
find_
File "/usr/lib/
foreign_revid, mapping = self.source.
File "/usr/lib/
return self.revmap.
File "/usr/lib/
raise e
NoSuchRevision: <bzrlib.
bzr 1.16.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'merge', '-r', 'revid:
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_NZ.UTF-8'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
netrc_
qbzr /usr/lib/
svn /usr/lib/
xmloutput /usr/lib/
*** 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.
summary: |
- bzr merge crashes on erroneous command line args: NoSuchRevision - exception + NoSuchRevision traceback when given revid is not in the default merge + source |
tags: | added: merge |
tags: | added: check-for-breezy |
This is a bug in the "bzr merge" UI, which should be handling NoSuchRevision. This problem also occurs against a regular bzr branch.