[MERGE] Fast _walkdirs for win32
Robert Collins
robertc at robertcollins.net
Thu Jul 17 12:17:08 BST 2008
Robert Collins has voted tweak.
Status is now: Conditionally approved
Comment:
+# Copyright (C) 2007 Canonical Ltd
Time machine much?
This hunk in osutils seems to be redundant?
@@ -1271,6 +1278,15 @@
pending.extend(d for d in reversed(dirblock) if d[2] ==
_directory)
+def _walkdirs_utf8_win32_find_file(top, prefix=""):
+ """
+ Because Win32 has a Unicode api, all of the 'path-from-top' entries
will be
+ Unicode paths.
+ """
+ from bzrlib._walkdirs_win32 import Win32Finder
+ return Win32Finder(top, prefix=prefix)
+
+
otherwise cool
For details, see:
http://bundlebuggy.aaronbentley.com/request/%3C487ECFA1.4050205%40arbash-meinel.com%3E
More information about the bazaar
mailing list