"bzr mv" broken for git trees

Bug #1792013 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
Critical
Jelmer Vernooij

Bug Description

% bzr mv AUTHORS AUTHORS.md
brz: ERROR: AttributeError: 'GitWorkingTree' object has no attribute 'get_canonical_inventory_path'

Traceback (most recent call last):
  File "/home/jelmer/src/breezy/breezy/commands.py", line 1009, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/jelmer/src/breezy/breezy/commands.py", line 1194, in run_bzr
    ret = run(*run_argv)
  File "/home/jelmer/src/breezy/breezy/commands.py", line 760, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/jelmer/src/breezy/breezy/commands.py", line 784, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/jelmer/src/breezy/breezy/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/jelmer/src/breezy/breezy/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/jelmer/src/breezy/breezy/builtins.py", line 1018, in run
    self._run(tree, names_list, rel_names, after)
  File "/home/jelmer/src/breezy/breezy/builtins.py", line 1068, in _run
    src = tree.get_canonical_inventory_path(rel_names[0])
AttributeError: 'GitWorkingTree' object has no attribute 'get_canonical_inventory_path'

brz 3.0.0dev1 on python 2.7.15 (Linux-4.18.0-1-amd64-x86_64-with-debian-
    buster-sid)
arguments: ['/home/jelmer/src/breezy/brz', '-Dhpss', 'mv', 'AUTHORS',
    'AUTHORS.md']
plugins: apt[unknown], bash_completion[3.0.0dev1], changelog_merge[3.0.0dev1],
    commitfromnews[unknown], cvs[3.0.0dev1], darcs[unknown], debian[2.8.6],
    email[unknown], fastimport[unknown], grep[3.0.0dev1], jelmer[unknown],
    launchpad[3.0.0dev1], mtn[3.0.0dev1], netrc_credential_store[3.0.0dev1],
    news_merge[3.0.0dev1], po_merge[3.0.0dev1], propose[unknown],
    repodebug[unknown], stats[3.0.0dev1], upload[3.0.0dev1],
    weave_fmt[3.0.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.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://bugs.launchpad.net/brz/+filebug
    including this traceback and a description of the problem.

Tags: git regression

Related branches

Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in brz:
status: Fix Committed → Fix Released
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.