--match option doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
How to reproduce:
$ bzr branch lp:casper
$ cd casper
$ bzr log --match-bugs 1065827
Expected result:
- The log entry for the commit that fixes bug 1065827.
Actual result:
bzr: ERROR: exceptions.
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 self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
Logger(b, rqst).show(lf)
File "/usr/lib/
self.
File "/usr/lib/
for lr in generator.
File "/usr/lib/
for revs in revision_iterator:
File "/usr/lib/
new_revs = [rev for rev in revs if _match_
File "/usr/lib/
if k in strings and not _match_
File "/usr/lib/
return any([filter(None, map(re.search, strings)) for re in res])
TypeError: expected string or buffer
bzr 2.6.0dev3 on python 2.7.4 (Linux-
Ubuntu-
arguments: ['/usr/bin/bzr', 'log', '--match-bugs', '1065827']
plugins: bash_completion
fastimport[
launchpad[
news_
weave_
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_CA.UTF-8'
*** 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.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bzr 2.6.0~bzr6571-
ProcVersionSign
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed May 8 17:14:20 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-04-25 (13 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitec
SourcePackage: bzr
UpgradeStatus: No upgrade log present (probably fresh install)
For what it is worth the "strings" that match_any_filter is failing on follows:
[(u'https:/ /launchpad. net/bugs/ 1065827', u'fixed')]
Additionally, this may help in working around the issue depending on how the commit message was written.
bzr log --match-message '1065827'