[MERGE] remove default repository format, deprecate get_format_type

Aaron Bentley aaron.bentley at utoronto.ca
Fri Jan 26 22:25:07 GMT 2007


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

Hi all,

This patch removes RepositoryFormat.set_default, which dispenses with
the concept of a default repo format as something distinct from the
default bzrdir format.

This is because repositories are actually strongly linked to the bzrdir
and working tree formats with which they're associated.  These things
cannot be intermixed freely, so it makes sense to register them as
preset combinations.

I have retained a vestigial RepositoryFormat.get_default_format, which
returns the repo format for the default bzrdir combination.

It also deprecates get_format_type, which is no longer needed because we
can now purely use bzrdir.format_registry for selecting bzrdir combinations.

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

iD8DBQFFun/D0F+nu1YWqI0RAoszAJ9jOe4Y37aOfKP/Ch91sI2QNaGR/gCbBBPa
kCIXWbfiryxj+wclwNPdSCo=
=311q
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-cleanup.patch
Type: text/x-patch
Size: 22686 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070126/be0a84f6/attachment-0001.bin 


More information about the bazaar mailing list