Merge lp:~tzeentch-gm/bzr/666897-get-file-by-path-attr-error into lp:bzr/2.2
Proposed by
Michael Gliwinski
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~tzeentch-gm/bzr/666897-get-file-by-path-attr-error | ||||
Merge into: | lp:bzr/2.2 | ||||
Diff against target: |
26 lines (+4/-1) 2 files modified
NEWS (+3/-0) bzrlib/tree.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~tzeentch-gm/bzr/666897-get-file-by-path-attr-error | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
Review via email: mp+39395@code.launchpad.net |
Commit message
Use Tree.path2id rather than the same method on _inventory member
Description of the change
Just a small tweak to ``Tree.
See bug #666897 and discusson on ML: https:/
To post a comment you must log in.
Unmerged revisions
- 5106. By Michael Gliwinski
-
Updated NEWS.
- 5105. By Michael Gliwinski
-
Changed ``Tree.
get_file_ by_path` ` to use path2id method instead of accessing _inventory directly. Fixes occasional problem with WorkingTree 4+ which re-implements path2id which doesn't use _inventory.
It would be nice to have a test if you're seeing this error, but I think this is fairly clearly an improvement in its own right.