[MERGE] Handle a file turning in to a directory in TreeTransform.
James Westby
jw+debian at jameswestby.net
Thu Jul 17 16:27:01 BST 2008
Hi all,
When a file turns in to a directory in a TreeTransform and a child
is added to this new directory stat is called on the child path.
stat throws "ENOTDIR" as there is a file on disk that is named the
same as one of the parents of the path it is given. This means
that the file is not present, and so we should handle ENOTDIR
in the same way as ENOENT. The attached patch does this.
Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-dev-stat-3536.patch
Type: text/x-patch
Size: 5011 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080717/f28030e2/attachment.bin
More information about the bazaar
mailing list