how to create a BzrDir of specified format
Martin Pool
mbp at sourcefrog.net
Wed Mar 8 09:43:48 GMT 2006
I'm just trying to work out how to make a BzrDir, Branch, etc, of a
specified format for the purposes of testing. The current api seems
a bit odd - strongly inclined to create the default format. As a
result many of the existing tests need to set the default format
before they do anything.
One perverse effect is that
BzrDirMetaFormat1.create('.')
creates an instance of a different format!
It seems to me that by static methods on e.g. a BzrDirFormat we ought
to be able to create an instance and the relevant internal components.
--
Martin Pool
More information about the bazaar
mailing list