"AttributeError: children" in inventory.py during 'bzr ls bzr://.../FILE'

Bug #498959 reported by Andrew Bennetts
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

In one terminal, start a smart server serving a branch (or repo) of bzr.dev:

$ bzr serve

In another, do a bzr ls of Makefile (or any other file) in that branch:

$ bzr ls bzr://localhost/devel/Makefile

You'll get a crash like:

bzr: ERROR: exceptions.AttributeError: children

Traceback (most recent call last):
  File "/home/andrew/code/bzr/bzrlib/commands.py", line 826, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/andrew/code/bzr/bzrlib/commands.py", line 1027, in run_bzr
    ret = run(*run_argv)
  File "/home/andrew/code/bzr/bzrlib/commands.py", line 638, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/andrew/code/bzr/bzrlib/commands.py", line 1042, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/andrew/code/bzr/bzrlib/builtins.py", line 2548, in run
    from_dir=relpath, recursive=recursive):
  File "/home/andrew/code/bzr/bzrlib/revisiontree.py", line 132, in list_files
    for path, entry in entries:
  File "/home/andrew/code/bzr/bzrlib/inventory.py", line 789, in iter_entries
    children = from_dir.children.items()
AttributeError: children

It's probably shallow.

Tags: easy hpss ls
Andrew Bennetts (spiv)
summary: - "AttributeError: children" in inventory.py during 'bzr ls -v
+ "AttributeError: children" in inventory.py during 'bzr ls
bzr://.../FILE'
description: updated
Andrew Bennetts (spiv)
tags: added: hpss
Jelmer Vernooij (jelmer)
tags: added: ls
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.