DirState.set_state_from_inventory() fails when we have common prefix paths "foo" and "foo-bar"
Bug #115947 reported by
John A Meinel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
Calling DirState.
Specifically:
foo/
bar/
baz
foo-bar/
baz
The code is iterating over (dirname, basename, file_id) tuples and comparing them with '<', but this fails if there are similar dirnames with a '-'.
Related branches
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'll upload the patch, but it needs a test case, etc.