Comment 5 for bug 370545

Revision history for this message
Gordon P. Hemsley (gphemsley) wrote : Re: [Bug 370545] Re: `bzr log -v -rthread:` fails with AttributeError

...on a branch that doesn't use them. :)

Gordon

On Thu, Jun 18, 2009 at 3:08 AM, Robert
Collins<email address hidden> wrote:
> On Thu, 2009-06-18 at 06:39 +0000, Gordon P. Hemsley wrote:
>> Um... execute the given command...?
>>
>> `bzr log -v -rthread:`
>
>
> $ bzr log -v -rthread:
> ------------------------------------------------------------
> revno: 2020 [merge]
> committer: Canonical.com Patch Queue Manager<email address hidden>
> branch nick: +trunk
>
> ...
>
> -Rob
>
> --
> `bzr log -v -rthread:` fails with AttributeError
> https://bugs.launchpad.net/bugs/370545
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Loom: New
>
> Bug description:
> $ bzr log -v -rthread:
> bzr: ERROR: exceptions.AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'
>
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
>    return the_callable(*args, **kwargs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
>    ret = run(*run_argv)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
>    return self.run(**all_cmd_args)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 926, in ignore_pipe
>    result = func(*args, **kwargs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2150, in run
>    rev1, rev2 = _get_revision_range(revision, b, self.name())
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2183, in _get_revision_range
>    rev1 = rev2 = revisionspec_list[0].in_history(branch)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 225, in in_history
>    return self._match_on_and_check(branch, revs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 204, in _match_on_and_check
>    info = self._match_on(branch, revs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 44, in _match_on
>    return RevisionInfo(branch, None, self._as_revision_id(branch))
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 51, in _as_revision_id
>    state = branch.get_loom_state()
> AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'
>
> bzr 1.13.1 on python 2.5.2 (darwin)
> arguments: ['/usr/bin/bzr', 'log', '-v', '-rthread:']
> encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
> plugins:
>  bzrtools             /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
>  email                /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
>  extmerge             /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/extmerge [unknown]
>  gtk                  /Users/gphemsley/.bazaar/plugins/gtk [0.95.0.final.1]
>  launchpad            /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
>  loom                 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4dev]
>  netrc_credential_store /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
>  qbzr                 /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/qbzr [0.9.8]
>  rebase               /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.5dev]
>  search               /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/search [1.7dev]
>  upload               /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0dev]
> *** Bazaar has encountered an internal error.
>    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
>    including this traceback, and a description of what you
>    were doing when the error occurred.
>

--
Gordon P. Hemsley
<email address hidden>
http://www.uvm.edu/~ghemsley/http://gpfactory.wyrihaximus.net/
http://cmsforme.sourceforge.net/http://www.yoursasha.com/