bzr revert fails when reverting from a subdirectory where an item has the same name as the subdirectory
Bug #56549 reported by
Andrew King
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
When trying to revert a file from a subdirectory, if there is another file in the subdirectory with the same name as the name of the subdirectory, the revert fails with the error message:
bzr: ERROR: [Errno 20] Not a directory: 'subdir/myFile'
Steps to reproduce:
In a new repo:
mkdir foo; touch foo/bar; bzr add foo; bzr ci; cd foo; touch foo; <change bar>; bzr revert bar
Reverting from the root level of the repository still works correctly.
Related branches
Changed in bzr: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks plausible, shouldnt affect to many users and there is a workaround -> medium priority.