[rfc] Transport.stat vs lstat

Martin Pool mbp at canonical.com
Fri Feb 26 06:17:41 GMT 2010


The issue arises in
https://code.edge.launchpad.net/~rls/bzr/transport-link-and-symlink-support/+merge/20096
of whether Transport.stat should do lstat underneath, or whether there
should be a separate Transport.lstat.  Previously Transports didn't
care about symlinks much.

istm that while consistency with unix is good, making stat always
explicitly deal with symlinks may actually be likely to avoid some
misbehaviour there, and it might also be more consistent across
differerent transports that may not automatically follow symlinks.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list