[MERGE] set_default deprecations, 2nd Edition

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jan 5 17:27:24 GMT 2007


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

Hi all,

This is a corrected patch to deprecate the old ways of setting the
default format.

It also updates all test cases to avoid setting the default format,
except those test cases that are actually testing that mechanism.

Along the way, it introduces a format parameter for BzrDir.create,
BzrDir.create_repository and BzrDir.create_branch_and_repo.

It also allows the testcase convenience functions to take strings as
format parameters.  If strings are supplied, they are looked up in the
format registry.

Many, many tests were testing BzrDirMeta1 specifically.  I'm not sure
why.  But BzrDirMeta1 is no longer specific enough.  In those cases,
I've replaced it with 'knit'.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFnop80F+nu1YWqI0RAmSKAJ40Zs0dTWdQXrPl14UsXbeVqpmhPACfb8av
uOf9rM7Y7lT2TITpmKShi9o=
=/z3s
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format-registry-deprecation.patch
Type: text/x-patch
Size: 50226 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070105/108640fb/attachment-0001.bin 


More information about the bazaar mailing list