Higher level methods in bzrlib for library users
David Ingamells
david.ingamells at mapscape.eu
Fri Dec 3 06:33:41 GMT 2010
Martin Pool wrote:
> On 3 December 2010 12:22, Jelmer Vernooij <jelmer at samba.org> wrote:
>
>>> What I'm proposing is that we create a number of higher level methods in
>>> bzrlib for library users.
>> ........
>> I wonder where we should put these methods - Repository is already big
>> enough as is, but it does seem the most appropriate place for them.
>>
>
> One way to handle this is to say that these are really very close to
> bzr command-line commands, but handled in-process. Certainly the
> examples Tim gives are pretty close to bzr st, log, and diff.
>
>
Given that the interface would be very likely a layer just below the
CLI, there is unlikely to be a significant increase in the repository
size (in the width - the deltas will of course increase the depth ;) )
as the CLI would just become a thin layer above the higher level methods
- and you may find that the CLI layer can get simplified as a result. At
least that has been my experience with my own [non-python] work.
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20101203/f02e7749/attachment.htm
More information about the bazaar
mailing list