'bzr merge <dirname>' doesn't work on windows

Bug #50155 reported by Lukáš Lalinský
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
John A Meinel

Bug Description

On Windows, file('filename', 'rb') raises an IOError exception with EACCESS instead of EISDIR if we are trying to open a directory. This makes it unable to merge from local branch as the "except IOError, e:" block ignores only ENOENT and EISDIR errno's.

Revision history for this message
Lukáš Lalinský (luks) wrote : A patch to handle EACCES on Windows

A patch to handle EACCES in cases where EISDIR should be used, on Windows.

Revision history for this message
John A Meinel (jameinel) wrote :

I have committed a variant of this fix into my win32 branch. Which should be merged to mainline in the next couple of days.

Changed in bzr:
assignee: nobody → jameinel
importance: Untriaged → High
status: Unconfirmed → Fix Committed
Revision history for this message
John A Meinel (jameinel) wrote :

has been merged

Changed in bzr:
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.