Speedup with history-db

Eli Zaretskii eliz at gnu.org
Tue May 31 17:33:14 UTC 2011


> Date: Tue, 31 May 2011 08:59:11 +0200
> From: John Arbash Meinel <john at arbash-meinel.com>
> CC: bazaar at lists.canonical.com
> 
> > Thanks.  This slashed the time significantly, but bzr consistently
> > says it imports 4 revisions each time I do a "bzr up" with no new
> > revisions available in the remote repo:
> > 
> >   9.360  fetch up to rev {rgm at gnu.org-20110527071815-pnm36i0e38mb8wte}
> >   11.766  history_db post-change-hook took 0.246s (0.002s to get_config, 0.096s to init, 0.148s to import)
> >   11.766  Stats:
> >   {'num_search_tips': 0,
> >    'step mainline': 1,
> >    'step mainline added': 4,
> >    'step mainline cache missed': 1,
> >    'step mainline initial': 1}
> >   [ 3688] 2011-05-27 18:06:55.062 INFO: Tree is up to date at revision 104384 of branch bzr+ssh://eliz@bzr.savannah.gnu.org/emacs/trunk
> > 
> > It looks like something else is at work here.
> 
> If you do "bzr log -n0 -r -2..-1" is the new tip a merge that includes 3
> new revisions. (So you have a new tip + 3 merged revisions for 4 total
> revs?)

(Assuming you still need the answer)  It could be, indeed:

  104384: Glenn Morris 2011-05-27 [merge] Merge from emacs-23; up to r100588.
    99634.2.954: Kenichi Handa 2011-05-27 [merge] mail/sendmail.el (mail-encod..
      99634.21.4: Kenichi Handa 2011-05-27 mail/sendmail.el (mail-encode-heade..
      99634.21.3: Kenichi Handa 2011-05-27 [merge] merge emacs-23
  104383: Glenn Morris 2011-05-27 * lisp/mail/emacsbug.el: Don't require url-u..



More information about the bazaar mailing list