[RFC] metaweave format
Olaf Conradi
oohlaf at gmail.com
Fri Apr 28 20:41:06 BST 2006
On 28/04/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Olaf Conradi wrote:
> >On 28/04/06, John Arbash Meinel <john at arbash-meinel.com> wrote:
> >> However, "metaweave" might be a better name for it.
> >>
> >> If we use "metaweave" I would probably get rid of "metadir" entirely. We
> >> have "knit" which is a Metadir + knits, and "metaweave" which is
> >> metadir+weaves, and "weave" which is the old all-in-one format.
> >>
> >> John
> >
> > We can leave metadir as the format to define the default one, and have
> > both init and init-repo query it. That way metadir does not need to be
> > deprecated and we have a single place for the default.
>
> I would rather have the default be "default". Because in the future we
> may come up with something better than "metadir".
OK, I agree that's better.
> Since no client has been officially released with --format=metadir, I
> would be okay with just changing its name to --format=metaweave, and
> fixing the bug that caused it to create knit format.
Patch attached.
This changes "metadir" to "metaweave" which is metadirformat1 with
format7 weave repo.
Introduced format "default" which points to metadirformat1 (and is knit)
Fixes test cases accordingly.
Mentions "knit" as only supported format in "bzr help init" and "bzr
help init-repo". All other formats are available, but not shown in the
help. They are shown in "bzr help upgrade".
So when a users knows what he is doing, he can use a deprecated format.
http://deschacht.student.utwente.nl/bzr/bazaar-vcs/bzr.olaf.metaweave/
-Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metaweave2.patch
Type: text/x-patch
Size: 8736 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060428/8467ad93/attachment.bin
More information about the bazaar
mailing list