[merge] deprecate LockableFiles.get_utf8

John Arbash Meinel john at arbash-meinel.com
Thu May 1 17:24:00 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
| As discussed some time ago, I want to remove LockableFiles, which is
| present on most components as .control_files.  It has a mismash of
| several functions which don't fit particularly well together, and make
| some changes in Remote objects harder.
|
| This is the first (and maybe easiest) patch: rather than using
| .get_utf8(), callers just act on the transport directly.
|
| At the moment Branch/Repository/Tree objects must have a .control_files
| attribute, pointing to a LockableFiles.  I'll probably change that to
| require them to have a ._transport instead.  We don't really want them
| to need to expose a Transport, but at present they effectively do, as
| .control_files._transport.  Once everything that does file-level
| operations is going through the same interface we can clean up any
| non-internal users of it.
|
|

BB:approve

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgZ7qAACgkQJdeBCYSNAAMWBQCghtNMwytJeeKMW2emAePvWwUL
NA8An3IZfMO6o25V6g0T6I5t4id4Hdn4
=frrM
-----END PGP SIGNATURE-----



More information about the bazaar mailing list