Fri, 06 Jun 2008 19:23:23 +0100 Add a new function, fspath
Paul Moore <p.f.moore@gmail.com> [Fri, 06 Jun 2008 19:23:23 +0100] rev 6676
Add a new function, fspath The function, given a relative filename and a root, returns the filename modified to use the case actually stored in the filesystem (or None if the file does not exist). The returned name is relative to the root, but retains the path separators used in the input path. (This is not strictly necessary, but retaining the path separators minimises misleading test suite failures). A win32-specific implementation (using win32api.FindFiles) is possible, but it has not been implemented as testing seems to demonstrate that the win32-specific code is not significantly faster (thanks to the caching of results in the generic code).
Fri, 06 Jun 2008 08:29:16 +0100 Add a folding() method to dirstate
Paul Moore <p.f.moore@gmail.com> [Fri, 06 Jun 2008 08:29:16 +0100] rev 6675
Add a folding() method to dirstate The method returns True if the dirstate is on a case folding filesystem.
(0) -3000 -1000 -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip