[RFC] temporarily disable format-display after creating repositories/branches?

Robert Collins robert.collins at canonical.com
Thu Feb 19 10:13:57 GMT 2009


This is just a discussion point; I haven't tracked down all the info.

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)

Now, eventually we need to optimise this, but it would be a lot easier
to simply drop this from the default behaviour, with a plan to reinstate
it later.

Alternatively, if someone wanted to dig in an optimise these two lines
now, I'd be delighted to leave them in-place and provide advice on how
to add verbs to the smart server and so on.

-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/20090219/0e240f68/attachment.pgp 


More information about the bazaar mailing list