[RFC] temporarily disable format-display after creating repositories/branches?
Robert Collins
robert.collins at canonical.com
Mon Feb 23 23:14:55 GMT 2009
On Tue, 2009-02-24 at 08:50 +1000, Ian Clatworthy wrote:
> Robert Collins wrote:
> > With the latest network performance patches applied, init-repo completes
> > its work with 4 round trips. It takes 16 to complete the command though
> > - from 5 through 16 are doing:
> >
> > if not is_quiet():
> > from bzrlib.info import show_bzrdir_info
> > show_bzrdir_info(repo.bzrdir, verbose=0, outfile=self.outf)
>
> 'bzr info' is effectively show_bzrdir_info(). We'll therefore need a
> smart verb to speed up info on a remote URL. In fact, I'd expect info
> to be used more often that init-repo. It certainly is locally but perhaps
> remote usage patterns are different w.r.t. these two commands?
Well, I'm not looking at info at the moment :). In point of fact though,
we *have* a smart verb for getting repository info. So this needs
investigation to fix :).
Which was my point: cheap win (remove this call), long term win (someone
optimises this for bzr+ protocols).
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090224/f579852c/attachment.pgp
More information about the bazaar
mailing list