[MERGE] add win32utils.get_local_appdata_location()

Mark Hammond mhammond at skippinet.com.au
Sat Aug 23 06:06:00 BST 2008


Via the bzr-svn feature request at https://bugs.launchpad.net/bugs/231041
("win32: Cache-directory should be in "Local Settings\Application Data")
Jelmer suggested that bzrlib's win32utils should expose a way to get the
windows "local application data" for use by plugins.

Accordingly, I've attached such a patch.  It also includes adding pywin32 as
a fallback if ctypes doesn't exist, and adds tests for the existing
get_appdata_location() and the new get_local_appdata_location(), testing
both ctypes and pywin32 code paths.

Cheers,

Mark


-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_local_appdata.patch
Type: application/octet-stream
Size: 15614 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080823/f3fb9482/attachment.obj 


More information about the bazaar mailing list